(legacy) remove isAjax()

This commit is contained in:
Ad Schellevis 2015-11-22 17:02:51 +00:00
parent 692a8f779c
commit f8b281e9bf

View File

@ -62,11 +62,6 @@ if ($act == "edit") {
if ($act == "del") {
if ($a_tunable[$id]) {
/* if this is an AJAX caller then handle via JSON */
if (isAjax() && is_array($input_errors)) {
input_errors2Ajax($input_errors);
exit;
}
if (!$input_errors) {
unset($a_tunable[$id]);
write_config();