aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 2b129f3ec7..02434cc3c8 100644
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -329,9 +329,7 @@ if (!$auth->acl_get('u_sig'))
}
$vars = array('module');
-$event = new phpbb_event_data(compact($vars));
-$phpbb_dispatcher->dispatch('core.ucp_modules', $event);
-extract($event->get_data_filtered($vars));
+extract($phpbb_dispatcher->trigger_event('core.ucp_modules', compact($vars), $vars));
// Select the active module
$module->set_active($id, $mode);