aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-legacy
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 13:04:04 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 13:04:04 +0200
commit59d8f8f2c468701cd0362d57b0027bf415aaab68 (patch)
tree77ac50fb08f36ac49033acef5e385c86b03e041b /config/haproxy-legacy
parent4b6586dd81e0392369b7a9f5eee658a19b6b60f5 (diff)
downloadpfsense-packages-59d8f8f2c468701cd0362d57b0027bf415aaab68.tar.gz
pfsense-packages-59d8f8f2c468701cd0362d57b0027bf415aaab68.tar.bz2
pfsense-packages-59d8f8f2c468701cd0362d57b0027bf415aaab68.zip
haproxy_frontends.php - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/haproxy-legacy')
-rwxr-xr-xconfig/haproxy-legacy/haproxy_frontends.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/haproxy-legacy/haproxy_frontends.php b/config/haproxy-legacy/haproxy_frontends.php
index 1aef0b8f..6fdb97ff 100755
--- a/config/haproxy-legacy/haproxy_frontends.php
+++ b/config/haproxy-legacy/haproxy_frontends.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);
}