From 59d8f8f2c468701cd0362d57b0027bf415aaab68 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 11 Aug 2015 13:04:04 +0200 Subject: haproxy_frontends.php - remove useless config_(un)lock calls This function does nothing but return. --- config/haproxy-legacy/haproxy_frontends.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/haproxy-legacy') 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); } -- cgit v1.2.3 From 1b872c49fa7bafa07a27fb1f0efa75ddf080617e Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 11 Aug 2015 13:05:06 +0200 Subject: haproxy_servers.php - remove useless config_(un)lock calls This function does nothing but return. --- config/haproxy-legacy/haproxy_servers.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/haproxy-legacy') 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); } -- cgit v1.2.3