aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/33/squid_auth.inc
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:37:57 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:37:57 +0200
commit4ab723d0ede932f811d2e8dce24aed0982ea7e30 (patch)
tree0b8b66cf96d1aef22878fed068b67cdda07f424f /config/squid3/33/squid_auth.inc
parentfc20007410a5f3670842ce0c236657227d7425ec (diff)
downloadpfsense-packages-4ab723d0ede932f811d2e8dce24aed0982ea7e30.tar.gz
pfsense-packages-4ab723d0ede932f811d2e8dce24aed0982ea7e30.tar.bz2
pfsense-packages-4ab723d0ede932f811d2e8dce24aed0982ea7e30.zip
squid_auth.inc - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/squid3/33/squid_auth.inc')
-rw-r--r--config/squid3/33/squid_auth.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/squid3/33/squid_auth.inc b/config/squid3/33/squid_auth.inc
index 7c99a01b..54e69b49 100644
--- a/config/squid3/33/squid_auth.inc
+++ b/config/squid3/33/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
+?>