From: Julius Härtl Date: Mon, 8 Aug 2022 13:02:27 +0000 (+0200) Subject: Show version from appinfo on occ app:list X-Git-Tag: v26.0.0beta1~428^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1da6c210364c499c091f4e454989b6567e05d2f1;p=nextcloud-server.git Show version from appinfo on occ app:list Signed-off-by: Julius Härtl --- diff --git a/core/Command/App/ListApps.php b/core/Command/App/ListApps.php index 6f8858c8858..6405afc2f68 100644 --- a/core/Command/App/ListApps.php +++ b/core/Command/App/ListApps.php @@ -87,7 +87,7 @@ class ListApps extends Base { sort($disabledApps); foreach ($disabledApps as $app) { - $apps['disabled'][$app] = $versions[$app] ?? null; + $apps['disabled'][$app] = $this->manager->getAppVersion($app) . (isset($versions[$app]) ? ' (installed ' . $versions[$app] . ')' : ''); } $this->writeAppList($input, $output, $apps);