summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
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 /etc/inc/pfsense-utils.inc
parent63356262a7f3f82b97d029d983fff0132030e539 (diff)
downloadpfsense-6a9a0736f6af0e5b8419d6764fcbb5508ff6f8cd.zip
pfsense-6a9a0736f6af0e5b8419d6764fcbb5508ff6f8cd.tar.gz
Remove useless code
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index c1419eb..2c4d8c3 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1835,9 +1835,6 @@ function update_alias_url_data() {
/* fetch down and add in */
$temp_filename = tempnam("{$g['tmp_path']}/", "alias_import");
unlink($temp_filename);
- $fda = fopen("{$g['tmp_path']}/tmpfetch","w");
- fwrite($fda, "/usr/bin/fetch -T 5 -q -o \"{$temp_filename}/aliases\" \"" . $alias_url . "\"");
- fclose($fda);
mwexec("/bin/mkdir -p {$temp_filename}");
mwexec("/usr/bin/fetch -T 5 -q -o \"{$temp_filename}/aliases\" \"" . $alias_url . "\"");
/* if the item is tar gzipped then extract */
OpenPOWER on IntegriCloud