mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3884 from Nicofuma/ticket/14143
[ticket/14143] Flush the mail queue when writing it
This commit is contained in:
commit
9537ec56eb
1 changed files with 2 additions and 0 deletions
|
@ -902,6 +902,8 @@ class queue
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
|
phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
|
||||||
|
|
||||||
|
$this->data = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$lock->release();
|
$lock->release();
|
||||||
|
|
Loading…
Add table
Reference in a new issue