aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-20 11:23:03 +0000
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:44 +0200
commit8af7d225ef481cd26e6fd7862847183d25727117 (patch)
tree8347065c186e787aa41eb6b7c7547491268be80a /phpBB/viewforum.php
parentba63df2dce9da69caa31f1f4404b3b79a7f4f75e (diff)
downloadforums-8af7d225ef481cd26e6fd7862847183d25727117.tar
forums-8af7d225ef481cd26e6fd7862847183d25727117.tar.gz
forums-8af7d225ef481cd26e6fd7862847183d25727117.tar.bz2
forums-8af7d225ef481cd26e6fd7862847183d25727117.tar.xz
forums-8af7d225ef481cd26e6fd7862847183d25727117.zip
[feature/events] Change to use the new method of adding events
PHPBB3-9550
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index dac4230ce0..393e8db26c 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -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);