diff options
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r-- | core/Command/Status.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php index 8f615004f3c..7702a672fc8 100644 --- a/core/Command/Status.php +++ b/core/Command/Status.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bart Visscher <bartv@thisnet.nl> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Joas Schilling <coding@schilljs.com> * @author Morris Jobke <hey@morrisjobke.de> * @@ -38,12 +39,12 @@ class Status extends Base { } protected function execute(InputInterface $input, OutputInterface $output) { - $values = array( + $values = [ 'installed' => (bool) \OC::$server->getConfig()->getSystemValue('installed', false), 'version' => implode('.', \OCP\Util::getVersion()), 'versionstring' => \OC_Util::getVersionString(), 'edition' => '', - ); + ]; $this->writeArrayInOutputFormat($input, $output, $values); } |