aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-09-05 17:53:29 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-09-05 17:53:29 +0200
commit0e93efd7cbc9ab0a08943778bb3e64544a2a3e47 (patch)
tree01359b3f8c0ad185a97e17b4e3d8be8821e8d627 /phpBB/includes/functions_messenger.php
parent8cab2374f98e507cba2f0b10da4155110a73fc00 (diff)
downloadforums-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
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php2
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();