diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-10-22 12:39:03 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-10-22 12:40:51 -0200 |
commit | dd8e414e068388ed9ddca6303d2b33da7b3dba45 (patch) | |
tree | d54e623172a48ae8685dcfff76e58f9989a8f205 /usr | |
parent | 69aba8590e46b1704542ecb677f335335e2e9f75 (diff) | |
download | pfsense-dd8e414e068388ed9ddca6303d2b33da7b3dba45.zip pfsense-dd8e414e068388ed9ddca6303d2b33da7b3dba45.tar.gz |
Remove unused variable
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 87ec941..9b8e721 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -184,10 +184,8 @@ if ($_POST) { $alias['updatefreq'] = $_POST['address_subnet0'] ? $_POST['address_subnet0'] : 7; if (!is_URL($alias['url']) || empty($alias['url'])) { $input_errors[] = gettext("You must provide a valid URL."); - $dont_update = true; } elseif (! process_alias_urltable($alias['name'], $alias['url'], 0, true)) { $input_errors[] = gettext("Unable to fetch usable data."); - $dont_update = true; } if ($_POST["detail0"] <> "") $final_address_details[] = $_POST["detail0"]; @@ -246,12 +244,10 @@ if ($_POST) { if($isfirst == 0) { /* nothing was found */ $input_errors[] = sprintf(gettext("You must provide a valid URL. Could not fetch usable data from '%s'."), $_POST['address' . $x]); - $dont_update = true; } mwexec("/bin/rm -rf {$temp_filename}"); } else { $input_errors[] = sprintf(gettext("URL '%s' is not valid."), $_POST['address' . $x]); - $dont_update = true; } } } |