aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 13:06:57 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 13:06:57 +0200
commitea7a711c40ebe0a245464046c714dd6d81f31620 (patch)
tree7cabc74066cdd9e9163ee6ac60f555219ec2ceec /config/haproxy
parent030eacd6daaf3ca5ed17b8d16c01e2b010483573 (diff)
downloadpfsense-packages-ea7a711c40ebe0a245464046c714dd6d81f31620.tar.gz
pfsense-packages-ea7a711c40ebe0a245464046c714dd6d81f31620.tar.bz2
pfsense-packages-ea7a711c40ebe0a245464046c714dd6d81f31620.zip
haproxy_pools.php - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/haproxy')
-rwxr-xr-xconfig/haproxy/haproxy_pools.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_pools.php b/config/haproxy/haproxy_pools.php
index a0bf75a2..aed3c3e6 100755
--- a/config/haproxy/haproxy_pools.php
+++ b/config/haproxy/haproxy_pools.php
@@ -49,9 +49,7 @@ if ($_POST) {
if ($_POST['apply']) {
$retval = 0;
- config_lock();
$retval = haproxy_configure();
- config_unlock();
$savemsg = get_std_save_message($retval);
unlink_if_exists($d_haproxyconfdirty_path);
}