aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:41:25 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:41:25 +0200
commit72a4b890c195d26391d3c31bce1448cb4bc0b44b (patch)
treebafcc0660131ca70a389dee6958bc3d840ee10f4
parent310881a25cc9c9960339dc99109e33217f6dad91 (diff)
downloadpfsense-packages-72a4b890c195d26391d3c31bce1448cb4bc0b44b.tar.gz
pfsense-packages-72a4b890c195d26391d3c31bce1448cb4bc0b44b.tar.bz2
pfsense-packages-72a4b890c195d26391d3c31bce1448cb4bc0b44b.zip
squid_ng.inc - remove useless config_(un)lock calls
This function does nothing but return.
-rwxr-xr-xconfig/squid3/33/squid_ng.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/squid3/33/squid_ng.inc b/config/squid3/33/squid_ng.inc
index 3b9ef405..d1c37dbf 100755
--- a/config/squid3/33/squid_ng.inc
+++ b/config/squid3/33/squid_ng.inc
@@ -38,7 +38,6 @@ function global_write_squid_config()
{
global $config;
conf_mount_rw();
- config_lock();
/* define squid configuration file in variable for replace function */
$squidconfig = "/usr/local/etc/squid/squid.conf";
@@ -791,7 +790,6 @@ function global_write_squid_config()
fclose($fout);
conf_mount_ro();
- config_unlock();
touch($squidconfig);
} /* end function write_squid_config */
@@ -1032,7 +1030,6 @@ function write_static_squid_config() {
function mod_htpasswd() {
global $config;
conf_mount_rw();
- config_lock();
if (!file_exists("/usr/local/etc/squid/advanced/ncsa")) mwexec("mkdir -p /usr/local/etc/squid/advanced/ncsa");
@@ -1048,7 +1045,6 @@ function mod_htpasswd() {
fclose($passfile);
conf_mount_ro();
- config_unlock();
}
function generate_htpasswd($username, $password) {