Merge pull request #33482 from nextcloud/bugfix/app-version-disabled

Show version from appinfo on occ app:list
This commit is contained in:
Julius Härtl 2022-11-13 17:07:45 +01:00 committed by GitHub
commit 87105a21d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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);