Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/command/status.php')
-rw-r--r--core/command/status.php6
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);