X-Git-Url: https://git.infodrom.org/?p=misc%2Fkostenrechnung;a=blobdiff_plain;f=ajax%2Fajax.php;h=6597a7692e325dec458c94a10a47d43257085e52;hp=e8556747875bc567feeac1b636042c645ece964c;hb=646cd089353ea1125cdc1ebc8f5fb9fd041d6b51;hpb=4b737cbcd8098db397277629f21e5af8818c202d diff --git a/ajax/ajax.php b/ajax/ajax.php index e855674..6597a76 100644 --- a/ajax/ajax.php +++ b/ajax/ajax.php @@ -268,13 +268,6 @@ function get_infos($mask) return array('info' => query_db($sql)); } -function format_ajax($data) -{ - header('Content-type: application/json; charset=UTF-8'); - echo json_encode($data); - exit; -} - if (empty($_POST['func'])) exit;