aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-legacy/haproxy_servers.php
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 13:05:06 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 13:05:06 +0200
commit1b872c49fa7bafa07a27fb1f0efa75ddf080617e (patch)
treeabc37bca372f874f9b8180516c1665c4f9f00291 /config/haproxy-legacy/haproxy_servers.php
parent59d8f8f2c468701cd0362d57b0027bf415aaab68 (diff)
downloadpfsense-packages-1b872c49fa7bafa07a27fb1f0efa75ddf080617e.tar.gz
pfsense-packages-1b872c49fa7bafa07a27fb1f0efa75ddf080617e.tar.bz2
pfsense-packages-1b872c49fa7bafa07a27fb1f0efa75ddf080617e.zip
haproxy_servers.php - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/haproxy-legacy/haproxy_servers.php')
-rwxr-xr-xconfig/haproxy-legacy/haproxy_servers.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/haproxy-legacy/haproxy_servers.php b/config/haproxy-legacy/haproxy_servers.php
index e04ed74c..8a385ed1 100755
--- a/config/haproxy-legacy/haproxy_servers.php
+++ b/config/haproxy-legacy/haproxy_servers.php
@@ -46,9 +46,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);
}