aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 13:01:56 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 13:01:56 +0200
commit4b6586dd81e0392369b7a9f5eee658a19b6b60f5 (patch)
tree9940d544818d7354502fbc28030fc299ce4714e6
parent9642d274821a46447222673ddc757b1ebb390cb9 (diff)
downloadpfsense-packages-4b6586dd81e0392369b7a9f5eee658a19b6b60f5.tar.gz
pfsense-packages-4b6586dd81e0392369b7a9f5eee658a19b6b60f5.tar.bz2
pfsense-packages-4b6586dd81e0392369b7a9f5eee658a19b6b60f5.zip
strikeback.inc - remove useless config_(un)lock calls
This function does nothing but return.
-rw-r--r--config/strikeback/strikeback.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/strikeback/strikeback.inc b/config/strikeback/strikeback.inc
index 89e7596c..131e961b 100644
--- a/config/strikeback/strikeback.inc
+++ b/config/strikeback/strikeback.inc
@@ -44,7 +44,6 @@ function php_install_command_sb()
global $config;
conf_mount_rw();
- config_lock();
if (!is_dir('/usr/local/www/packages/')) {
exec("mkdir /usr/local/www/packages/");
@@ -105,7 +104,6 @@ function php_install_command_sb()
exec("mv /usr/local/www/packages/strikeback/43132.png /usr/local/www/packages/strikeback/color.png");
conf_mount_ro();
- config_unlock();
}