aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 13:06:07 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 13:06:07 +0200
commit030eacd6daaf3ca5ed17b8d16c01e2b010483573 (patch)
tree4f7dd9c8959347e9e8b891c2c7053208f150f1d4 /config/haproxy
parent1b872c49fa7bafa07a27fb1f0efa75ddf080617e (diff)
downloadpfsense-packages-030eacd6daaf3ca5ed17b8d16c01e2b010483573.tar.gz
pfsense-packages-030eacd6daaf3ca5ed17b8d16c01e2b010483573.tar.bz2
pfsense-packages-030eacd6daaf3ca5ed17b8d16c01e2b010483573.zip
haproxy_listeners.php - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/haproxy')
-rwxr-xr-xconfig/haproxy/haproxy_listeners.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_listeners.php b/config/haproxy/haproxy_listeners.php
index a5bc9a22..adc0178c 100755
--- a/config/haproxy/haproxy_listeners.php
+++ b/config/haproxy/haproxy_listeners.php
@@ -45,9 +45,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);
}