aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-09 17:20:39 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-09 17:20:39 -0500
commit5502f3c4aa30ce72131f2a55bcfa3db7a4059427 (patch)
treebd1b8b9bac12bb5f97389a11231a83b37aa7852e /phpBB/includes/mcp/mcp_queue.php
parente09f25d59707fc842b073fa2909cefc3d16ecbf3 (diff)
downloadforums-5502f3c4aa30ce72131f2a55bcfa3db7a4059427.tar
forums-5502f3c4aa30ce72131f2a55bcfa3db7a4059427.tar.gz
forums-5502f3c4aa30ce72131f2a55bcfa3db7a4059427.tar.bz2
forums-5502f3c4aa30ce72131f2a55bcfa3db7a4059427.tar.xz
forums-5502f3c4aa30ce72131f2a55bcfa3db7a4059427.zip
[ticket/11103] Restyle the notification list
Very rough (lots of inline CSS, very ugly) PHPBB3-11103
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index d5c431e478..1d9a2dfedc 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -451,7 +451,7 @@ function approve_post($post_id_list, $id, $mode)
{
global $db, $template, $user, $config;
global $phpEx, $phpbb_root_path;
- global $request;
+ global $request, $phpbb_container;
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
{
@@ -634,6 +634,8 @@ function approve_post($post_id_list, $id, $mode)
// Send out normal user notifications
$email_sig = str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']);
+ $notifications = $phpbb_container->get('notifications');
+
foreach ($post_info as $post_id => $post_data)
{
if ($post_id == $post_data['topic_first_post_id'] && $post_id == $post_data['topic_last_post_id'])