aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-07 12:15:24 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-07 12:15:24 +0200
commit9537ec56eb4c37cd4aec905c0db35d4b46e73ac6 (patch)
tree01359b3f8c0ad185a97e17b4e3d8be8821e8d627 /phpBB
parent8cab2374f98e507cba2f0b10da4155110a73fc00 (diff)
parent0e93efd7cbc9ab0a08943778bb3e64544a2a3e47 (diff)
downloadforums-9537ec56eb4c37cd4aec905c0db35d4b46e73ac6.tar
forums-9537ec56eb4c37cd4aec905c0db35d4b46e73ac6.tar.gz
forums-9537ec56eb4c37cd4aec905c0db35d4b46e73ac6.tar.bz2
forums-9537ec56eb4c37cd4aec905c0db35d4b46e73ac6.tar.xz
forums-9537ec56eb4c37cd4aec905c0db35d4b46e73ac6.zip
Merge pull request #3884 from Nicofuma/ticket/14143
[ticket/14143] Flush the mail queue when writing it
Diffstat (limited to 'phpBB')
-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();