summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-07-04 21:56:43 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-07-05 08:56:03 -0300
commit6a9a0736f6af0e5b8419d6764fcbb5508ff6f8cd (patch)
tree2490a2000b4cabc0b4ede76401aea3ca66b1940a /usr
parent63356262a7f3f82b97d029d983fff0132030e539 (diff)
downloadpfsense-6a9a0736f6af0e5b8419d6764fcbb5508ff6f8cd.zip
pfsense-6a9a0736f6af0e5b8419d6764fcbb5508ff6f8cd.tar.gz
Remove useless code
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php3
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 7e78fbd..9bdbb6e 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -202,9 +202,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 */
OpenPOWER on IntegriCloud