aboutsummaryrefslogtreecommitdiffstats
path: root/config/imspector
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 13:08:40 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 13:08:40 +0200
commit9b36d6b6c1f95574b15dff4e9e8ba794d4502a73 (patch)
tree8a78c16aa4e9e14770fad85500b6a06dc7e6d2a0 /config/imspector
parentea7a711c40ebe0a245464046c714dd6d81f31620 (diff)
downloadpfsense-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.
Diffstat (limited to 'config/imspector')
-rw-r--r--config/imspector/imspector.inc6
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();
}