diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-06 15:13:28 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-06 17:13:41 +0300 |
commit | 930fd6fb568b46ff37e3b8c43be28a2db9a933eb (patch) | |
tree | 0c05df47dfa7e0d9d2a3235d2c65d8e24622b0d0 | |
parent | 8ada5e6ca767db4ff2ebcbae8e2c025394e67e56 (diff) |
Also fix "occ status"
-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); |