From 6a9a0736f6af0e5b8419d6764fcbb5508ff6f8cd Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 4 Jul 2013 21:56:43 -0300 Subject: Remove useless code --- etc/inc/pfsense-utils.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'etc/inc') 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 */ -- cgit v1.1