Browse Source

Make sure we evaluate installed like we do it everywhere

tags/v9.1.0beta1
Joas Schilling 8 years ago
parent
commit
828dec9edb
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      status.php

+ 2
- 2
status.php 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,

Loading…
Cancel
Save