diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-03-16 00:05:18 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-01 10:17:06 +0200 |
commit | bd3024b31875b220f8f00cafd81846b1f6aeeff2 (patch) | |
tree | 2aadd672fc9e262980c9839772d8827695e17943 /phpBB/viewonline.php | |
parent | 4d87b2254c7762db129b2706b372538451279d13 (diff) | |
download | forums-bd3024b31875b220f8f00cafd81846b1f6aeeff2.tar forums-bd3024b31875b220f8f00cafd81846b1f6aeeff2.tar.gz forums-bd3024b31875b220f8f00cafd81846b1f6aeeff2.tar.bz2 forums-bd3024b31875b220f8f00cafd81846b1f6aeeff2.tar.xz forums-bd3024b31875b220f8f00cafd81846b1f6aeeff2.zip |
[feature/events] Adding ledge viewonline_location
Used by phpBB Gallery
PHPBB3-9550
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r-- | phpBB/viewonline.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 48362a9d67..e709955653 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -317,6 +317,11 @@ while ($row = $db->sql_fetchrow($result)) default: $location = $user->lang['INDEX']; $location_url = append_sid("{$phpbb_root_path}index.$phpEx"); + + $vars = array('on_page', 'row', 'location', 'location_url'); + $event = new phpbb_event_data(compact($vars)); + $phpbb_dispatcher->dispatch('core.viewonline_location', $event); + extract($event->get_data_filtered($vars)); break; } |