mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) remove isAjax()
This commit is contained in:
parent
692a8f779c
commit
f8b281e9bf
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user