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

[feature/events] Removing the third trigger_event parameter

PHPBB3-9550
This commit is contained in:
Michael Cullum
2012-03-31 13:39:41 +01:00
committed by Joas Schilling
parent 8da33e2654
commit 3f1b4e83ae
12 changed files with 27 additions and 27 deletions

View File

@@ -134,7 +134,7 @@ $sql_ary = array(
);
$vars = array('sql_ary', 'show_guests');
extract($phpbb_dispatcher->trigger_event('core.viewonline_get_userdata', compact($vars), $vars));
extract($phpbb_dispatcher->trigger_event('core.viewonline_get_userdata', compact($vars)));
$result = $db->sql_query($db->sql_build_query('SELECT', $sql_ary));
@@ -328,7 +328,7 @@ while ($row = $db->sql_fetchrow($result))
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
$vars = array('on_page', 'row', 'location', 'location_url');
extract($phpbb_dispatcher->trigger_event('core.viewonline_location', compact($vars), $vars));
extract($phpbb_dispatcher->trigger_event('core.viewonline_location', compact($vars)));
break;
}