aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.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/includes/functions_posting.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/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index d3550aafba..6c7cb3f0b2 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -132,9 +132,7 @@ function generate_smilies($mode, $forum_id)
}
$vars = array('mode', 'forum_id', 'display_link');
- $event = new phpbb_event_data(compact($vars));
- $phpbb_dispatcher->dispatch('core.generate_smilies_footer', $event);
- extract($event->get_data_filtered($vars));
+ extract($phpbb_dispatcher->trigger_event('core.generate_smilies_footer', compact($vars), $vars));
if ($mode == 'window')
{