aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Frèrejean <erikfrerejean@phpbb.com>2012-04-10 22:22:29 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:47 +0200
commitb04141b14f2fe5a804e55c6e4f94869b9f4e4a6a (patch)
tree8f5c8603a8b1e5ecf89d9ea905161a87eba50d6b
parente21861b488ad4daf88b02aedf4e93d218d250ddc (diff)
downloadforums-b04141b14f2fe5a804e55c6e4f94869b9f4e4a6a.tar
forums-b04141b14f2fe5a804e55c6e4f94869b9f4e4a6a.tar.gz
forums-b04141b14f2fe5a804e55c6e4f94869b9f4e4a6a.tar.bz2
forums-b04141b14f2fe5a804e55c6e4f94869b9f4e4a6a.tar.xz
forums-b04141b14f2fe5a804e55c6e4f94869b9f4e4a6a.zip
[feature/events] Correct core.acp_users_overview event
The event still used the "old" method. PHPBB3-9550
-rw-r--r--phpBB/includes/acp/acp_users.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index f6c2ecfc87..de1e9afc83 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -30,8 +30,9 @@ class acp_users
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template, $cache, $phpbb_dispatcher;
+ global $config, $db, $user, $auth, $template, $cache;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $file_uploads;
+ global $phpbb_dispatcher;
$user->add_lang(array('posting', 'ucp', 'acp/users'));
$this->tpl_name = 'acp_users';
@@ -1040,9 +1041,7 @@ class acp_users
));
$vars = array('data', 'check_ary', 'sql_ary', 'user_row', 'quick_tool_ary');
- $event = new phpbb_event_data(compact($vars));
- $phpbb_dispatcher->dispatch('core.acp_users_overview', $event);
- extract($event->get_data_filtered($vars));
+ extract($phpbb_dispatcher->trigger_event('core.acp_users_overview', compact($vars)));
break;