[feature/events] Adding ledge viewonline_location

Used by phpBB Gallery

PHPBB3-9550
This commit is contained in:
Joas Schilling 2012-03-16 00:05:18 +01:00
parent 4d87b2254c
commit bd3024b318

View file

@ -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;
}