Make sure we evaluate installed like we do it everywhere

This commit is contained in:
Joas Schilling 2016-05-23 10:09:36 +02:00
parent 3c73e54eb9
commit b30f4c2799
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
1 changed files with 2 additions and 2 deletions

View File

@ -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,