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