From f8b281e9bfae402dc1b2b10f5a81fca5e7aab44f Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sun, 22 Nov 2015 17:02:51 +0000 Subject: [PATCH] (legacy) remove isAjax() --- src/www/system_advanced_sysctl.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/www/system_advanced_sysctl.php b/src/www/system_advanced_sysctl.php index 14aa83c88..f4a6ca1a0 100644 --- a/src/www/system_advanced_sysctl.php +++ b/src/www/system_advanced_sysctl.php @@ -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();