Make sure we evaluate installed like we do it everywhere
This commit is contained in:
parent
7f1b8f22d4
commit
828dec9edb
|
@ -31,8 +31,8 @@ try {
|
||||||
|
|
||||||
$systemConfig = \OC::$server->getSystemConfig();
|
$systemConfig = \OC::$server->getSystemConfig();
|
||||||
|
|
||||||
$installed = $systemConfig->getValue('installed') == 1;
|
$installed = (bool) $systemConfig->getValue('installed', false);
|
||||||
$maintenance = $systemConfig->getValue('maintenance', false);
|
$maintenance = (bool) $systemConfig->getValue('maintenance', false);
|
||||||
$values=array(
|
$values=array(
|
||||||
'installed'=>$installed,
|
'installed'=>$installed,
|
||||||
'maintenance' => $maintenance,
|
'maintenance' => $maintenance,
|
||||||
|
|
Loading…
Reference in New Issue