summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-11-13 17:07:45 +0100
committerGitHub <noreply@github.com>2022-11-13 17:07:45 +0100
commit87105a21d4982935eb4346fcc19898a946c87c60 (patch)
tree925a796ed94cc5e939ee9b7d4bb3124730978d0e /core
parent7e229aab54d39a6d01c4371cfcdf6eceb6b34834 (diff)
parent1da6c210364c499c091f4e454989b6567e05d2f1 (diff)
downloadnextcloud-server-87105a21d4982935eb4346fcc19898a946c87c60.tar.gz
nextcloud-server-87105a21d4982935eb4346fcc19898a946c87c60.zip
Merge pull request #33482 from nextcloud/bugfix/app-version-disabled
Show version from appinfo on occ app:list
Diffstat (limited to 'core')
-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);