aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-31 13:39:41 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:44 +0200
commit3f1b4e83aef7f7344cd551463b59de71bb4bd6fe (patch)
tree915fa153259cd7e484d2497709ae6a8f4c05c17a /phpBB/viewonline.php
parent8da33e2654f89e55352012b197dfef4ae7a1fc7e (diff)
downloadforums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar.gz
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar.bz2
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar.xz
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.zip
[feature/events] Removing the third trigger_event parameter
PHPBB3-9550
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 08c02464e5..227a88f962 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -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;
}