Skip to content

Commit

Permalink
Show version from appinfo on occ app:list
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Aug 8, 2022
1 parent fe2f8b5 commit cb8f65f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/Command/App/ListApps.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int

sort($disabledApps);
foreach ($disabledApps as $app) {
$apps['disabled'][$app] = $versions[$app] ?? null;
$installedVersion = $this->manager->getAppVersion($app);
$apps['disabled'][$app] = $installedVersion ?? null;
}

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

0 comments on commit cb8f65f

Please sign in to comment.