1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

[feature/events] Adding ledge ucp_modules

Used by phpBB Gallery

PHPBB3-9550
This commit is contained in:
Joas Schilling 2012-03-16 00:43:52 +01:00
parent 60b21863ca
commit 34a8563942

View File

@ -328,6 +328,11 @@ if (!$auth->acl_get('u_sig'))
$module->set_display('profile', 'signature', false);
}
$vars = array('module');
$event = new phpbb_event_data(compact($vars));
$phpbb_dispatcher->dispatch('core.ucp_modules', $event);
extract($event->get_data_filtered($vars));
// Select the active module
$module->set_active($id, $mode);