aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-10-11 23:59:41 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-10-11 23:59:41 +0000
commitfdcad33b8b4453c31192a5fc369aeec663288066 (patch)
tree046b891246c0c9a235d57cf1aa5eca65f55e6df0 /phpBB/includes/functions_messenger.php
parent0d56643cb2878fbf5cac86e5536ea9a9d067fa7b (diff)
downloadforums-fdcad33b8b4453c31192a5fc369aeec663288066.tar
forums-fdcad33b8b4453c31192a5fc369aeec663288066.tar.gz
forums-fdcad33b8b4453c31192a5fc369aeec663288066.tar.bz2
forums-fdcad33b8b4453c31192a5fc369aeec663288066.tar.xz
forums-fdcad33b8b4453c31192a5fc369aeec663288066.zip
oopsie, $fp no longer exists, using lock file instead
git-svn-id: file:///svn/phpbb/trunk@4558 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index fb56f366b8..f67bfb41b1 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -509,15 +509,11 @@ class queue
if (!sizeof($this->queue_data))
{
- @flock($fp, LOCK_UN);
- fclose($fp);
- unlink($this->cache_file);
+ @unlink($this->cache_file);
}
else
{
$file = '<?php $this->queue_data=' . $this->format_array($this->queue_data) . '; ?>';
- @flock($fp, LOCK_UN);
- fclose($fp);
if ($fp = @fopen($this->cache_file, 'w'))
{