diff options
-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."; } |