mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00:00
[feature/events] Adding ledge ucp_modules
Used by phpBB Gallery PHPBB3-9550
This commit is contained in:
parent
60b21863ca
commit
34a8563942
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue