Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-11-13 19:07:45 +0300
committerGitHub <noreply@github.com>2022-11-13 19:07:45 +0300
commit87105a21d4982935eb4346fcc19898a946c87c60 (patch)
tree925a796ed94cc5e939ee9b7d4bb3124730978d0e
parent7e229aab54d39a6d01c4371cfcdf6eceb6b34834 (diff)
parent1da6c210364c499c091f4e454989b6567e05d2f1 (diff)
Merge pull request #33482 from nextcloud/bugfix/app-version-disabled
Show version from appinfo on occ app:list
-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);