diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-06 14:13:28 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-06 14:13:59 +0200 |
commit | 20b636f38229e55c8c6ad5861d4f7b938e41ba2a (patch) | |
tree | a8363f282d688fa01e8356095470d593f8c305d4 /core/Command/Status.php | |
parent | bbc5fbe8c4764d565506de75733284400e2d3a28 (diff) | |
download | nextcloud-server-20b636f38229e55c8c6ad5861d4f7b938e41ba2a.tar.gz nextcloud-server-20b636f38229e55c8c6ad5861d4f7b938e41ba2a.zip |
Also fix "occ status"
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r-- | core/Command/Status.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php index 2f7173341b4..91c79d27670 100644 --- a/core/Command/Status.php +++ b/core/Command/Status.php @@ -38,11 +38,13 @@ class Status extends Base { } protected function execute(InputInterface $input, OutputInterface $output) { + $installed = (bool) \OC::$server->getConfig()->getSystemValue('installed', false); + $values = array( - 'installed' => (bool) \OC::$server->getConfig()->getSystemValue('installed', false), + 'installed' => $installed, 'version' => implode('.', \OCP\Util::getVersion()), 'versionstring' => \OC_Util::getVersionString(), - 'edition' => \OC_Util::getEditionString(), + 'edition' => $installed ? \OC_Util::getEditionString() : '', ); $this->writeArrayInOutputFormat($input, $output, $values); |