We always are in the ajax interface (for now).
authorJan Schneider <jan@horde.org>
Mon, 31 Aug 2009 14:33:50 +0000 (16:33 +0200)
committerJan Schneider <jan@horde.org>
Mon, 31 Aug 2009 14:33:50 +0000 (16:33 +0200)
kronolith/ajax.php

index 7326ea7..bb98423 100644 (file)
@@ -100,7 +100,6 @@ $cacheid = Horde_Util::getPost('cacheid');
 ob_start();
 
 try {
-    $notify = true;
     $result = false;
 
     switch ($action) {
@@ -380,4 +379,4 @@ if ($errors) {
 }
 
 // Send the final result.
-Horde::sendHTTPResponse(Horde::prepareResponse($result, $notify ? $GLOBALS['kronolith_notify'] : null), 'json');
+Horde::sendHTTPResponse(Horde::prepareResponse($result, $GLOBALS['kronolith_notify']), 'json');