mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
- remove messenger->reset() calls (they are already performed on sending) git-svn-id: file:///svn/phpbb/trunk@6660 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -558,12 +558,11 @@ function approve_post($post_id_list, $mode)
|
||||
);
|
||||
|
||||
$messenger->send($post_data['user_notify_type']);
|
||||
$messenger->reset();
|
||||
}
|
||||
|
||||
$messenger->save_queue();
|
||||
}
|
||||
|
||||
$messenger->save_queue();
|
||||
|
||||
// Send out normal user notifications
|
||||
$email_sig = str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']);
|
||||
|
||||
@@ -780,13 +779,12 @@ function disapprove_post($post_id_list, $mode)
|
||||
);
|
||||
|
||||
$messenger->send($post_data['user_notify_type']);
|
||||
$messenger->reset();
|
||||
}
|
||||
|
||||
$messenger->save_queue();
|
||||
}
|
||||
unset($post_info, $disapprove_reason);
|
||||
|
||||
$messenger->save_queue();
|
||||
|
||||
if (sizeof($forum_topics_real))
|
||||
{
|
||||
$success_msg = ($num_disapproved == 1) ? 'TOPIC_DISAPPROVED_SUCCESS' : 'TOPICS_DISAPPROVED_SUCCESS';
|
||||
|
Reference in New Issue
Block a user