summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-05-17 19:02:01 -0400
committerDarren Embry <dse@webonastick.com>2012-05-17 19:02:01 -0400
commitcd485c4fce152548b8aa450863d39bcca52c1f2c (patch)
tree2ca20ae8609596f009cb3a6e36feb906f4f542b1 /usr/local/www/system_gateways_edit.php
parent283d78c6321db31df913ad02a57301f698bffa79 (diff)
downloadpfsense-cd485c4fce152548b8aa450863d39bcca52c1f2c.zip
pfsense-cd485c4fce152548b8aa450863d39bcca52c1f2c.tar.gz
remove some log_error calls
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index 97fe7de..7a6c610 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -157,24 +157,17 @@ if ($_POST) {
if (isset($_POST['name'])) {
/* check for overlaps */
- log_error(print_r($a_gateways, true));
foreach ($a_gateways as $gateway) {
- log_error(print_r($gateway, true));
if (isset($id) && ($a_gateways[$id]) && ($a_gateways[$id] === $gateway)) {
if ($gateway['name'] != $_POST['name'])
$input_errors[] = gettext("Changing name on a gateway is not allowed.");
continue;
}
if($_POST['name'] <> "") {
- log_error("\$_POST['name'] = [{$_POST['name']}]");
- log_error("name = [{$gateway['name']}]");
- log_error("attribute = [{$gateway['attribute']}]");
if (($gateway['name'] <> "") && ($_POST['name'] == $gateway['name']) && ($gateway['attribute'] !== "system")) {
- log_error("-> is a dup");
$input_errors[] = sprintf(gettext('The gateway name "%s" already exists.'), $_POST['name']);
break;
}
- log_error("-> is not a dup");
}
if(is_ipaddr($_POST['gateway'])) {
if (($gateway['gateway'] <> "") && ($_POST['gateway'] == $gateway['gateway']) && ($gateway['attribute'] !== "system")) {
OpenPOWER on IntegriCloud