Skip to content

Commit 1da6c21

Browse files
committed
Show version from appinfo on occ app:list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent cc83222 commit 1da6c21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/Command/App/ListApps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8787

8888
sort($disabledApps);
8989
foreach ($disabledApps as $app) {
90-
$apps['disabled'][$app] = $versions[$app] ?? null;
90+
$apps['disabled'][$app] = $this->manager->getAppVersion($app) . (isset($versions[$app]) ? ' (installed ' . $versions[$app] . ')' : '');
9191
}
9292

9393
$this->writeAppList($input, $output, $apps);

0 commit comments

Comments
 (0)