diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-11 12:37:05 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-11 12:37:05 +0200 |
commit | fc20007410a5f3670842ce0c236657227d7425ec (patch) | |
tree | 0c71f421d9a6029c9da723d85ab7ff3721b8e3b7 | |
parent | 58f61c2c8ed377b29b03461977bce207f501ea1d (diff) | |
download | pfsense-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.
-rw-r--r-- | config/squid3/31/squid_auth.inc | 6 |
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 +?> |