fix backend sanity failure (take 2)

master
Andrew Dolgov 19 years ago
parent 57d7223aee
commit bc2369382c

@ -748,7 +748,9 @@
} }
if ($subop == "sanityCheck") { if ($subop == "sanityCheck") {
sanity_check($link); if (sanity_check($link)) {
print "<error error-code=\"0\"/>";
}
} }
if ($subop == "globalPurge") { if ($subop == "globalPurge") {

@ -111,6 +111,8 @@ function backend_sanity_check_callback() {
if (xmlhttp.readyState == 4) { if (xmlhttp.readyState == 4) {
try { try {
alert(xmlhttp.responseText);
if (!xmlhttp.responseXML) { if (!xmlhttp.responseXML) {
fatalError(3); fatalError(3);

Loading…
Cancel
Save