aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-01 14:55:54 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-01 14:55:54 +0200
commitba452f535da31882d674940117a24f3ffdfdc543 (patch)
treee8a75566cc01dd2bfdbeee0b4b99c4e087296825 /config/squid3
parent330057b59ad547c3ed9b6c0c80f44808bd36e720 (diff)
downloadpfsense-packages-ba452f535da31882d674940117a24f3ffdfdc543.tar.gz
pfsense-packages-ba452f535da31882d674940117a24f3ffdfdc543.tar.bz2
pfsense-packages-ba452f535da31882d674940117a24f3ffdfdc543.zip
Remove squid_resync_redirector()
Deprecated dead cruft. See http://www.freshports.org/www/squirm
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc15
1 files changed, 0 insertions, 15 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 692c489f..d4295a23 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -1399,20 +1399,6 @@ function squid_resync_upstream() {
return $conf;
}
-function squid_resync_redirector() {
- global $config;
-
- // XXX: What port provide squirm binary? It's not present
- $httpav_enabled = ($config['installedpackages']['clamav']['config'][0]['scan_http'] == 'on');
- $redirector = "/usr/local/bin/squirm";
- if (($httpav_enabled) && is_executable($redirector)) {
- $conf = "url_rewrite_program /usr/local/bin/squirm\n";
- } else {
- $conf = "# No redirector configured\n";
- }
- return $conf;
-}
-
function squid_resync_nac() {
global $config, $valid_acls;
@@ -2163,7 +2149,6 @@ function squid_resync($via_rpc = "no") {
}
$conf = squid_resync_general() . "\n";
$conf .= squid_resync_cache() . "\n";
- $conf .= squid_resync_redirector() . "\n";
$conf .= squid_resync_upstream() . "\n";
$conf .= squid_resync_nac() . "\n";
$conf .= squid_resync_traffic() . "\n";