aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:06:48 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:06:48 +0200
commit50a6e6b1d41355333a071f1fe027ceb7c33df361 (patch)
treeab755d9696fd6c3f210f251ca214bf7966fd6d0e /config
parent4d4e20ea1dfe56a690a67cd23325bd3be1989146 (diff)
downloadpfsense-packages-50a6e6b1d41355333a071f1fe027ceb7c33df361.tar.gz
pfsense-packages-50a6e6b1d41355333a071f1fe027ceb7c33df361.tar.bz2
pfsense-packages-50a6e6b1d41355333a071f1fe027ceb7c33df361.zip
darkstat.xml - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config')
-rw-r--r--config/darkstat/darkstat.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/darkstat/darkstat.xml b/config/darkstat/darkstat.xml
index d0b71cac..3b691741 100644
--- a/config/darkstat/darkstat.xml
+++ b/config/darkstat/darkstat.xml
@@ -262,7 +262,6 @@
<![CDATA[
function sync_package_darkstat() {
conf_mount_rw();
- config_lock();
global $config, $darkstat_config;
$darkstat_config =& $config['installedpackages']['darkstat']['config'][0];
@@ -353,7 +352,6 @@
restart_service("darkstat");
}
- config_unlock();
conf_mount_ro();
}