mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14143] Flush the mail queue when writing it
PHPBB3-14143
This commit is contained in:
parent
8cab2374f9
commit
0e93efd7cb
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