aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-12-18 08:57:44 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-12-18 08:57:44 -0200
commita2defb23270719c616b0d8c5eaab5714e709a0ac (patch)
treebdd056dd33d459a7e692756bd5c01194fc8f4f52 /config
parent0e931059d5cf44828b0b1dd29a9102618d0ce2a1 (diff)
downloadpfsense-packages-a2defb23270719c616b0d8c5eaab5714e709a0ac.tar.gz
pfsense-packages-a2defb23270719c616b0d8c5eaab5714e709a0ac.tar.bz2
pfsense-packages-a2defb23270719c616b0d8c5eaab5714e709a0ac.zip
Remove unused code
Diffstat (limited to 'config')
-rw-r--r--config/squid3/34/swapstate_check.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/config/squid3/34/swapstate_check.php b/config/squid3/34/swapstate_check.php
index b9f51ec1..7a7ccd27 100644
--- a/config/squid3/34/swapstate_check.php
+++ b/config/squid3/34/swapstate_check.php
@@ -30,17 +30,6 @@ require_once('config.inc');
require_once('util.inc');
require_once('squid.inc');
-$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
-if (is_dir('/usr/pbi/squid-' . php_uname("m"))) {
- if ($pfs_version == 2.2)
- define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m")."/local");
- else
- define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m"));
-} else {
- define('SQUID_LOCALBASE','/usr/local');
-}
-
-
$settings = $config['installedpackages']['squidcache']['config'][0];
// Only check the cache if Squid is actually caching.
// If there is no cache then quietly do nothing.