From: Joas Schilling Date: Tue, 6 Sep 2016 12:13:28 +0000 (+0200) Subject: Also fix "occ status" X-Git-Tag: v10.0.1RC1~30^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c01fd540beac0bfa110d182d50dd25b1c1c331ca;p=nextcloud-server.git Also fix "occ status" --- 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);