summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-18 11:22:50 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-18 11:22:50 -0400
commit09be0c7611a0ba5b594324a943659e467d757a52 (patch)
tree2c7c63a7bac0fed9a3d52cffb8e60acf9bf36bec /etc/inc
parente6b21089430306b48bc2b44e5eb069423f162b98 (diff)
downloadpfsense-09be0c7611a0ba5b594324a943659e467d757a52.zip
pfsense-09be0c7611a0ba5b594324a943659e467d757a52.tar.gz
Remove leftover code per Ermal
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/util.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index ba0460d..c07b23d 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -350,9 +350,6 @@ function lock($lock) {
die("WARNING: You must give a name as parameter to lock() function.");
if (!file_exists("{$g['tmp_path']}/{$lock}.lock"))
@touch("{$g['tmp_path']}/{$lock}.lock");
- ini_set('error_reporting', E_NONE);
- $config_lock_key = ftok("{$g['tmp_path']}/{$lock}.lock", 'a');
- $cfglckkey = sem_get($config_lock_key, 1, 0666, true);
$cfglckkeyconsumers++;
if ($fp = fopen("{$g['tmp_path']}/{$lock}.lock", "w+")) {
if (flock($fp, LOCK_EX))
OpenPOWER on IntegriCloud