From 9b36d6b6c1f95574b15dff4e9e8ba794d4502a73 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 11 Aug 2015 13:08:40 +0200 Subject: imspector.inc - remove useless config_(un)lock calls This function does nothing but return. --- config/imspector/imspector.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'config/imspector') diff --git a/config/imspector/imspector.inc b/config/imspector/imspector.inc index 7853e627..bc5a939c 100644 --- a/config/imspector/imspector.inc +++ b/config/imspector/imspector.inc @@ -177,8 +177,7 @@ /*continue sync process*/ log_error("Imspector: Saving changes."); - config_lock(); - + /* remove existing rules */ exec('/sbin/pfctl -a imspector -Fr > /dev/null'); exec('/sbin/pfctl -a imspector -Fn > /dev/null'); @@ -408,8 +407,7 @@ EOD; imspector_action('restart'); } } - config_unlock(); - + /*check xmlrpc sync*/ imspector_sync_on_changes(); } -- cgit v1.2.3