mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/events] Change to use the new method of adding events
PHPBB3-9550
This commit is contained in:
committed by
Joas Schilling
parent
ba63df2dce
commit
8af7d225ef
@@ -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')
|
||||
{
|
||||
|
Reference in New Issue
Block a user