diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-12-31 14:29:12 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-12-31 14:29:12 +0000 |
commit | 7afd18599d1c8ffbaf9cc47e7672aaa905844d4a (patch) | |
tree | a8acd64916821ca60ab79ada6a90d9db4f4a7517 /usr/local | |
parent | 16d9204ff3e6d341a2ca1c8807699736de793fd9 (diff) | |
download | pfsense-7afd18599d1c8ffbaf9cc47e7672aaa905844d4a.zip pfsense-7afd18599d1c8ffbaf9cc47e7672aaa905844d4a.tar.gz |
Remove broken duplicate check
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 5 |
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."; } |