aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/31
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:37:05 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:37:05 +0200
commitfc20007410a5f3670842ce0c236657227d7425ec (patch)
tree0c71f421d9a6029c9da723d85ab7ff3721b8e3b7 /config/squid3/31
parent58f61c2c8ed377b29b03461977bce207f501ea1d (diff)
downloadpfsense-packages-fc20007410a5f3670842ce0c236657227d7425ec.tar.gz
pfsense-packages-fc20007410a5f3670842ce0c236657227d7425ec.tar.bz2
pfsense-packages-fc20007410a5f3670842ce0c236657227d7425ec.zip
squid_auth.inc - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/squid3/31')
-rw-r--r--config/squid3/31/squid_auth.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/squid3/31/squid_auth.inc b/config/squid3/31/squid_auth.inc
index 7c99a01b..54e69b49 100644
--- a/config/squid3/31/squid_auth.inc
+++ b/config/squid3/31/squid_auth.inc
@@ -35,8 +35,7 @@ function global_eval_auth_options()
{
global $config;
conf_mount_rw();
- config_lock();
-
+
switch ($config['installedpackages']['squidauth']['config'][0]['auth_method']) {
case "none":
dynamic_auth_content("pkg_edit");
@@ -69,7 +68,6 @@ function global_eval_auth_options()
break;
}
- config_unlock();
conf_mount_ro();
} /* end function global_eval_auth_options */
@@ -443,4 +441,4 @@ function dynamic_auth_content($pkgvar) {
}
} /* end function dynamic_auth_content */
-?> \ No newline at end of file
+?>