diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-11 13:08:40 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-11 13:08:40 +0200 |
commit | 9b36d6b6c1f95574b15dff4e9e8ba794d4502a73 (patch) | |
tree | 8a78c16aa4e9e14770fad85500b6a06dc7e6d2a0 | |
parent | ea7a711c40ebe0a245464046c714dd6d81f31620 (diff) | |
download | pfsense-packages-9b36d6b6c1f95574b15dff4e9e8ba794d4502a73.tar.gz pfsense-packages-9b36d6b6c1f95574b15dff4e9e8ba794d4502a73.tar.bz2 pfsense-packages-9b36d6b6c1f95574b15dff4e9e8ba794d4502a73.zip |
imspector.inc - remove useless config_(un)lock calls
This function does nothing but return.
-rw-r--r-- | config/imspector/imspector.inc | 6 |
1 files changed, 2 insertions, 4 deletions
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(); } |