aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-07 14:15:14 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-07 14:15:14 +0100
commit1a498524138a7a3192ad14ad10f714b34488321f (patch)
treef071dd1d96c3734645ad4e2866ea2390b554d960 /phpBB/includes/mcp
parent0f7303627550da228e18251256ce180e309cda11 (diff)
downloadforums-1a498524138a7a3192ad14ad10f714b34488321f.tar
forums-1a498524138a7a3192ad14ad10f714b34488321f.tar.gz
forums-1a498524138a7a3192ad14ad10f714b34488321f.tar.bz2
forums-1a498524138a7a3192ad14ad10f714b34488321f.tar.xz
forums-1a498524138a7a3192ad14ad10f714b34488321f.zip
[ticket/9657] Remove unused email variables
PHPBB3-9657
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 0e835b0aa9..4383c5d571 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -654,9 +654,6 @@ class mcp_queue
{
$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
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
if ($action == 'approve')
{
- // Send out normal user notifications
- $email_sig = str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']);
-
// Handle notifications
$phpbb_notifications = $phpbb_container->get('notification_manager');
@@ -961,8 +955,6 @@ class mcp_queue
{
$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)
{