aboutsummaryrefslogtreecommitdiffstats
path: root/config/ntopng
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:05:20 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:05:20 +0200
commit4d4e20ea1dfe56a690a67cd23325bd3be1989146 (patch)
treeb0f25de63fe60ba94d1271f529ace2b8f74d1e0a /config/ntopng
parent5e1571d356dcb289c713b4a38f6cb5932fff6942 (diff)
downloadpfsense-packages-4d4e20ea1dfe56a690a67cd23325bd3be1989146.tar.gz
pfsense-packages-4d4e20ea1dfe56a690a67cd23325bd3be1989146.tar.bz2
pfsense-packages-4d4e20ea1dfe56a690a67cd23325bd3be1989146.zip
ntopng.xml - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/ntopng')
-rw-r--r--config/ntopng/ntopng.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml
index 3d07b064..6c01515c 100644
--- a/config/ntopng/ntopng.xml
+++ b/config/ntopng/ntopng.xml
@@ -143,7 +143,6 @@
return;
}
conf_mount_rw();
- config_lock();
global $config;
global $input_errors;
global $pf_version, $scripts_path, $fonts_path;
@@ -263,7 +262,6 @@
mwexec_bg("{$redis_path}/redis-cli SET user.admin.password " . escapeshellarg($password));
mwexec_bg("{$redis_path}/redis-cli save");
conf_mount_ro();
- config_unlock();
}
function ntopng_update_geoip() {
$fetchcmd = "/usr/bin/fetch";