aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:29:00 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:29:00 +0200
commit4ccaef3a83fbe893438980f1b48726010c457891 (patch)
treea8a2697a17e84da853e7c528a9c8162a30f644e6 /config
parent3167cca31c30ac32f4cf1d54764db766e1d38989 (diff)
downloadpfsense-packages-4ccaef3a83fbe893438980f1b48726010c457891.tar.gz
pfsense-packages-4ccaef3a83fbe893438980f1b48726010c457891.tar.bz2
pfsense-packages-4ccaef3a83fbe893438980f1b48726010c457891.zip
ntop.xml - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config')
-rw-r--r--config/ntop2/ntop.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/ntop2/ntop.xml b/config/ntop2/ntop.xml
index 4db9e9c8..57354f61 100644
--- a/config/ntop2/ntop.xml
+++ b/config/ntop2/ntop.xml
@@ -103,7 +103,6 @@
<![CDATA[
function sync_package_ntop() {
conf_mount_rw();
- config_lock();
global $config;
global $input_errors;
if ($_POST) {
@@ -149,7 +148,6 @@
sleep(2);
start_service("ntop");
conf_mount_ro();
- config_unlock();
}
]]>
</custom_php_global_functions>
@@ -175,4 +173,4 @@
}
]]>
</custom_php_validation_command>
-</packagegui> \ No newline at end of file
+</packagegui>