projects
/
misc
/
kostenrechnung
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check permissions when accessing pages
[misc/kostenrechnung]
/
ajax
/
ajax.php
diff --git
a/ajax/ajax.php
b/ajax/ajax.php
index
e855674
..
6597a76
100644
(file)
--- a/
ajax/ajax.php
+++ b/
ajax/ajax.php
@@
-268,13
+268,6
@@
function get_infos($mask)
return array('info' => query_db($sql));
}
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;
if (empty($_POST['func']))
exit;