From 1da6c210364c499c091f4e454989b6567e05d2f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Mon, 8 Aug 2022 15:02:27 +0200 Subject: [PATCH] Show version from appinfo on occ app:list MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/Command/App/ListApps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5