mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
oopsie, $fp no longer exists, using lock file instead
git-svn-id: file:///svn/phpbb/trunk@4558 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0d56643cb2
commit
fdcad33b8b
1 changed files with 1 additions and 5 deletions
|
@ -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'))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue