summaryrefslogtreecommitdiffstats
path: root/core/Command/Status.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-06 14:11:30 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-06 16:05:28 +0200
commit7c0951244a176e0b42d2d66a4288d74460821a8c (patch)
tree3324f36c7f0f7b5a8a85cc8f3ab910af46b3b2f8 /core/Command/Status.php
parent836c938583a2709adb21cdaafb3f000e8c77a086 (diff)
downloadnextcloud-server-7c0951244a176e0b42d2d66a4288d74460821a8c.tar.gz
nextcloud-server-7c0951244a176e0b42d2d66a4288d74460821a8c.zip
Deprecate getEditionString()
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r--core/Command/Status.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php
index 91c79d27670..177c63f0405 100644
--- a/core/Command/Status.php
+++ b/core/Command/Status.php
@@ -38,13 +38,11 @@ class Status extends Base {
}
protected function execute(InputInterface $input, OutputInterface $output) {
- $installed = (bool) \OC::$server->getConfig()->getSystemValue('installed', false);
-
$values = array(
- 'installed' => $installed,
+ 'installed' => (bool) \OC::$server->getConfig()->getSystemValue('installed', false),
'version' => implode('.', \OCP\Util::getVersion()),
'versionstring' => \OC_Util::getVersionString(),
- 'edition' => $installed ? \OC_Util::getEditionString() : '',
+ 'edition' => '',
);
$this->writeArrayInOutputFormat($input, $output, $values);