summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-12-31 14:29:12 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-12-31 14:29:12 +0000
commit7afd18599d1c8ffbaf9cc47e7672aaa905844d4a (patch)
treea8acd64916821ca60ab79ada6a90d9db4f4a7517 /usr/local/www/system_gateways_edit.php
parent16d9204ff3e6d341a2ca1c8807699736de793fd9 (diff)
downloadpfsense-7afd18599d1c8ffbaf9cc47e7672aaa905844d4a.zip
pfsense-7afd18599d1c8ffbaf9cc47e7672aaa905844d4a.tar.gz
Remove broken duplicate check
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index ef3a601..a8aa571 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -80,11 +80,6 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
- /* Does this gateway name already exist? */
- foreach($config['gateways']['gateway_item'] as $gw)
- if($gw['name'] == $_POST['name'])
- $input_errors[] = "This gateway name already exists.";
-
if (! isset($_POST['name'])) {
$input_errors[] = "A valid gateway name must be specified.";
}
OpenPOWER on IntegriCloud