diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-03-16 00:43:52 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-01 10:17:07 +0200 |
commit | 34a85639422214af23c6e56d175e5634c24db798 (patch) | |
tree | b31171584bf3e034e99f36bfbf8958dbd14d5fd6 /phpBB/ucp.php | |
parent | [feature/events] Adding ledge index (diff) | |
download | phpbb-34a85639422214af23c6e56d175e5634c24db798.tar.gz phpbb-34a85639422214af23c6e56d175e5634c24db798.tar.bz2 phpbb-34a85639422214af23c6e56d175e5634c24db798.zip |
[feature/events] Adding ledge ucp_modules
Used by phpBB Gallery
PHPBB3-9550
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r-- | phpBB/ucp.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 64afa0be67..2b129f3ec7 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -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); |