]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show version from appinfo on occ app:list 33482/head
authorJulius Härtl <jus@bitgrid.net>
Mon, 8 Aug 2022 13:02:27 +0000 (15:02 +0200)
committerJulius Härtl <jus@bitgrid.net>
Fri, 11 Nov 2022 13:45:11 +0000 (14:45 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
core/Command/App/ListApps.php

index 6f8858c8858a298f028d690dde6a83f7f90d61ec..6405afc2f68e17a86293696d06f6d6d38bafe076 100644 (file)
@@ -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);