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-08-08 16:02:27 +0300
committerJulius Härtl <jus@bitgrid.net>2022-11-11 16:45:11 +0300
commit1da6c210364c499c091f4e454989b6567e05d2f1 (patch)
tree4d0b3d1d1cbbd0ccbba7c1398c5a3282446afc0a
parentcc8322214cc6382edfdbe92e0af120299cc3909c (diff)
Show version from appinfo on occ app:list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-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);