Commit f8b281e9 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove isAjax()

parent 692a8f77
...@@ -62,11 +62,6 @@ if ($act == "edit") { ...@@ -62,11 +62,6 @@ if ($act == "edit") {
if ($act == "del") { if ($act == "del") {
if ($a_tunable[$id]) { 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) { if (!$input_errors) {
unset($a_tunable[$id]); unset($a_tunable[$id]);
write_config(); write_config();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment