diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-11 12:39:15 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-11 12:39:15 +0200 |
commit | a01fc84c0bdf74ab694544dbce34a79dae41c3b5 (patch) | |
tree | 6fbc54d15bf3c4f1916e828db51c7122feefb2f1 /config/squid | |
parent | 4ab723d0ede932f811d2e8dce24aed0982ea7e30 (diff) | |
download | pfsense-packages-a01fc84c0bdf74ab694544dbce34a79dae41c3b5.tar.gz pfsense-packages-a01fc84c0bdf74ab694544dbce34a79dae41c3b5.tar.bz2 pfsense-packages-a01fc84c0bdf74ab694544dbce34a79dae41c3b5.zip |
squid_ng.inc - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/squid')
-rw-r--r-- | config/squid/squid_ng.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/config/squid/squid_ng.inc b/config/squid/squid_ng.inc index f96c73e4..01f56ea3 100644 --- a/config/squid/squid_ng.inc +++ b/config/squid/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) { |