diff --git a/lib/private/Updater.php b/lib/private/Updater.php index dbcaccaad2631d2060f41807830b1cf35f28f153..608b62143d3156c94a93c9fafcf657cd25891345 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 86f1f68dde1c6aa53f7ef155121e2d301936142b..4afabbf2cd184bd1e24ae2a3239d98dd3fdc7f37 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,