aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-08 15:02:27 +0200
committerJulius Härtl <jus@bitgrid.net>2022-11-11 14:45:11 +0100
commit1da6c210364c499c091f4e454989b6567e05d2f1 (patch)
tree4d0b3d1d1cbbd0ccbba7c1398c5a3282446afc0a /core/Command
parentcc8322214cc6382edfdbe92e0af120299cc3909c (diff)
downloadnextcloud-server-1da6c210364c499c091f4e454989b6567e05d2f1.tar.gz
nextcloud-server-1da6c210364c499c091f4e454989b6567e05d2f1.zip
Show version from appinfo on occ app:list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/App/ListApps.php2
1 files changed, 1 insertions, 1 deletions
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);