Introduce new AJAX framework with improved class use
[infodrom.org/service.infodrom.org] / src / future.php
index 779f700..f3f3c5e 100644 (file)
@@ -26,7 +26,7 @@ function json_return($data)
   exit();
 }
 
   exit();
 }
 
-function json_error($text)
+function ajax_error($text)
 {
   $data = array('status' => false, 'error' => $text);
   json_return($data);
 {
   $data = array('status' => false, 'error' => $text);
   json_return($data);