Fix maintenance refresh interval

* fix XMLHttpRequest - send after callback is registered
* check for correct type of value - it's a boolean
* return correct content-type in status.php
This commit is contained in:
Morris Jobke
2015-04-08 18:02:00 +02:00
parent fc2711e156
commit 78ec7543d5
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -41,6 +41,7 @@ try {
if (OC::$CLI) {
print_r($values);
} else {
header('Content-Type: application/json');
echo json_encode($values);
}