From 90ad130d48893a63aea1db7e61ea9d39c6018cb1 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 12 Oct 2003 15:14:05 +0000 Subject: [PATCH] Wasn't finished and on my system is not performing correctly ... hence comments ;) Please leave commented out for now. git-svn-id: file:///svn/phpbb/trunk@4582 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index 92cabba152..08d627d42a 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1197,7 +1197,7 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id return; } - +/* foreach (discover_auth(array_keys($notify_rows), array('f_read'), $forum_id) as $user_id => $forum_ary) { foreach ($forum_ary as $forum_id => $option_ary) @@ -1209,7 +1209,7 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id } } } - +*/ // Now, we have to do a little step before really sending, we need to distinguish our users a little bit. ;) $email_users = $delete_ids = $update_notification = array(); @@ -1279,8 +1279,9 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id } } unset($email_list_ary); + + $messenger->queue->save(); } - $messenger->queue->save(); // Handle the DB updates $db->sql_transaction();