diff options
| author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-09-05 17:53:29 +0200 |
|---|---|---|
| committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-09-05 17:53:29 +0200 |
| commit | 0e93efd7cbc9ab0a08943778bb3e64544a2a3e47 (patch) | |
| tree | 01359b3f8c0ad185a97e17b4e3d8be8821e8d627 | |
| parent | 8cab2374f98e507cba2f0b10da4155110a73fc00 (diff) | |
| download | forums-0e93efd7cbc9ab0a08943778bb3e64544a2a3e47.tar forums-0e93efd7cbc9ab0a08943778bb3e64544a2a3e47.tar.gz forums-0e93efd7cbc9ab0a08943778bb3e64544a2a3e47.tar.bz2 forums-0e93efd7cbc9ab0a08943778bb3e64544a2a3e47.tar.xz forums-0e93efd7cbc9ab0a08943778bb3e64544a2a3e47.zip | |
[ticket/14143] Flush the mail queue when writing it
PHPBB3-14143
| -rw-r--r-- | phpBB/includes/functions_messenger.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index fbac3e6f1d..ae393739b9 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -902,6 +902,8 @@ class queue fclose($fp); phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE); + + $this->data = array(); } $lock->release(); |
