[feature/events] Adding core.mcp_forum_topicrow ledge

PHPBB3-9550
This commit is contained in:
Michael Cullum 2012-03-16 19:03:52 +00:00 committed by Joas Schilling
parent e17d0daf51
commit 643081d56c

View file

@ -288,6 +288,11 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
));
}
$vars = array('topic_row', 'row');
$event = new phpbb_event_data(compact($vars));
$phpbb_dispatcher->dispatch('core.mcp_forum_topicrow', $event);
extract($event->get_data_filtered($vars));
$template->assign_block_vars('topicrow', $topic_row);
}
unset($topic_rows);