mirror of https://github.com/nextcloud/server
Merge pull request #33482 from nextcloud/bugfix/app-version-disabled
Show version from appinfo on occ app:list
This commit is contained in:
commit
87105a21d4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue