diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-07-04 21:56:43 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-07-05 08:47:21 -0300 |
commit | abc7b6a28a1a002b1cfa91797b0b016a5415ec03 (patch) | |
tree | 674b27685ca2d6789254e73eaefdb6371e314104 /usr | |
parent | ffd7802adfefee850088f4aade26740c3cd1a9da (diff) | |
download | pfsense-abc7b6a28a1a002b1cfa91797b0b016a5415ec03.zip pfsense-abc7b6a28a1a002b1cfa91797b0b016a5415ec03.tar.gz |
Remove useless code
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index c2b0f44..1d863fd 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -201,9 +201,6 @@ if ($_POST) { $isfirst = 0; $temp_filename = tempnam("{$g['tmp_path']}/", "alias_import"); unlink($temp_filename); - $fda = fopen("{$g['tmp_path']}/tmpfetch","w"); - fwrite($fda, "/usr/bin/fetch -q -o \"{$temp_filename}/aliases\" \"" . $_POST['address' . $x] . "\""); - fclose($fda); mwexec("/bin/mkdir -p {$temp_filename}"); mwexec("/usr/bin/fetch -q -o \"{$temp_filename}/aliases\" \"" . $_POST['address' . $x] . "\""); /* if the item is tar gzipped then extract */ |