summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Updater.php1
-rw-r--r--status.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php
index dbcaccaad26..608b62143d3 100644
--- a/lib/private/Updater.php
+++ b/lib/private/Updater.php
@@ -168,6 +168,7 @@ class Updater extends BasicEmitter {
$this->emit('\OC\Updater', 'resetLogLevel', [ $logLevel, $this->logLevelNames[$logLevel] ]);
$this->config->setSystemValue('loglevel', $logLevel);
+ $this->config->setSystemValue('installed', true);
return $success;
}
diff --git a/status.php b/status.php
index 86f1f68dde1..4afabbf2cd1 100644
--- a/status.php
+++ b/status.php
@@ -31,8 +31,8 @@ try {
$systemConfig = \OC::$server->getSystemConfig();
- $installed = $systemConfig->getValue('installed') == 1;
- $maintenance = $systemConfig->getValue('maintenance', false);
+ $installed = (bool) $systemConfig->getValue('installed', false);
+ $maintenance = (bool) $systemConfig->getValue('maintenance', false);
$values=array(
'installed'=>$installed,
'maintenance' => $maintenance,