From 930fd6fb568b46ff37e3b8c43be28a2db9a933eb Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 6 Sep 2016 14:13:28 +0200 Subject: Also fix "occ status" --- core/command/status.php | 6 ++++-- 1 file 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); -- cgit v1.2.3