diff options
author | Phil Davis <phil.davis@inf.org> | 2017-04-18 09:02:29 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-04-18 09:02:29 +0545 |
commit | de145400dd60b977abc9392e02957a923cfd6eac (patch) | |
tree | e715fb2a5a17072b31fea80e77d9c345176372e1 /src/usr/local/www/system_gateways_edit.php | |
parent | a9dbf4df7f4bd1e85268a9dd6b1692f426537299 (diff) | |
download | pfsense-de145400dd60b977abc9392e02957a923cfd6eac.zip pfsense-de145400dd60b977abc9392e02957a923cfd6eac.tar.gz |
Remove obsolete isAjax array key handling
Diffstat (limited to 'src/usr/local/www/system_gateways_edit.php')
-rw-r--r-- | src/usr/local/www/system_gateways_edit.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/usr/local/www/system_gateways_edit.php b/src/usr/local/www/system_gateways_edit.php index 895e7af..5067274 100644 --- a/src/usr/local/www/system_gateways_edit.php +++ b/src/usr/local/www/system_gateways_edit.php @@ -98,24 +98,9 @@ if ($_POST['save']) { if (count($input_errors) == 0) { save_gateway($_POST, $realid); - - if ($_REQUEST['isAjax']) { - echo $_POST['name']; - exit; - } - header("Location: system_gateways.php"); exit; } else { - if ($_REQUEST['isAjax']) { - header("HTTP/1.0 500 Internal Server Error"); - header("Content-type: text/plain"); - foreach ($input_errors as $error) { - echo("$error\n"); - } - exit; - } - $pconfig = $_POST; if (empty($_POST['friendlyiface'])) { $pconfig['friendlyiface'] = $_POST['interface']; |