[ticket/9657] Remove unused email variables

PHPBB3-9657
This commit is contained in:
Joas Schilling 2013-03-07 14:15:14 +01:00
parent 0f73036275
commit 1a49852413

View file

@ -654,9 +654,6 @@ class mcp_queue
{ {
$phpbb_notifications = $phpbb_container->get('notification_manager'); $phpbb_notifications = $phpbb_container->get('notification_manager');
// Send out normal user notifications
$email_sig = str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']);
// Handle notifications // Handle notifications
foreach ($post_info as $post_id => $post_data) foreach ($post_info as $post_id => $post_data)
{ {
@ -813,9 +810,6 @@ class mcp_queue
// Only send out the mails, when the posts are being approved // Only send out the mails, when the posts are being approved
if ($action == 'approve') if ($action == 'approve')
{ {
// Send out normal user notifications
$email_sig = str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']);
// Handle notifications // Handle notifications
$phpbb_notifications = $phpbb_container->get('notification_manager'); $phpbb_notifications = $phpbb_container->get('notification_manager');
@ -961,8 +955,6 @@ class mcp_queue
{ {
$disapprove_reason_lang = strtoupper($row['reason_title']); $disapprove_reason_lang = strtoupper($row['reason_title']);
} }
$email_disapprove_reason = $disapprove_reason;
} }
} }
@ -1121,7 +1113,7 @@ class mcp_queue
} }
} }
unset($lang_reasons,$post_info, $disapprove_reason, $email_disapprove_reason, $disapprove_reason_lang); unset($lang_reasons, $post_info, $disapprove_reason, $disapprove_reason_lang);
if ($num_disapproved_topics) if ($num_disapproved_topics)
{ {