mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/events] Adding core.mcp_forum_topicrow ledge
PHPBB3-9550
This commit is contained in:
committed by
Joas Schilling
parent
e17d0daf51
commit
643081d56c
@@ -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);
|
||||
|
Reference in New Issue
Block a user