mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:22:37 +02:00
Merge pull request #3884 from Nicofuma/ticket/14143
[ticket/14143] Flush the mail queue when writing it
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user