summaryrefslogtreecommitdiffstats
path: root/core/command/app
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-20 16:31:43 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-20 17:03:19 +0200
commit2c396a708069bc4080a8c5273a69dbdfdaf0170e (patch)
tree54bb86376008c563866a9a1eea0fc5f713c35bba /core/command/app
parentce2c8533d9819e1ec9272bcdc06dcf4fa6b0678c (diff)
downloadnextcloud-server-2c396a708069bc4080a8c5273a69dbdfdaf0170e.tar.gz
nextcloud-server-2c396a708069bc4080a8c5273a69dbdfdaf0170e.zip
Remove the app version from disabled app list
Diffstat (limited to 'core/command/app')
-rw-r--r--core/command/app/listapps.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/command/app/listapps.php b/core/command/app/listapps.php
index 37a1d645ed4..e30baddb745 100644
--- a/core/command/app/listapps.php
+++ b/core/command/app/listapps.php
@@ -55,12 +55,12 @@ class ListApps extends Base {
sort($enabledApps);
foreach ($enabledApps as $app) {
- $apps['enabled'][$app] = (isset($versions[$app])) ? $versions[$app] : '';
+ $apps['enabled'][$app] = (isset($versions[$app])) ? $versions[$app] : true;
}
sort($disabledApps);
foreach ($disabledApps as $app) {
- $apps['disabled'][$app] = (isset($versions[$app])) ? $versions[$app] : '';
+ $apps['disabled'][$app] = null;
}
$this->writeAppList($input, $output, $apps);