1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-24 09:12:56 +02:00

[feature/events] Change to use the new method of adding events

PHPBB3-9550
This commit is contained in:
Michael Cullum
2012-03-20 11:23:03 +00:00
committed by Joas Schilling
parent ba63df2dce
commit 8af7d225ef
12 changed files with 27 additions and 81 deletions

View File

@@ -746,9 +746,7 @@ if (sizeof($topic_list))
);
$vars = array('topicrow');
$event = new phpbb_event_data(compact($vars));
$phpbb_dispatcher->dispatch('core.viewforum_topicrow', $event);
extract($event->get_data_filtered($vars));
extract($phpbb_dispatcher->trigger_event('core.viewforum_topicrow', compact($vars), $vars));
$template->assign_block_vars('topicrow', $topicrow);