1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 05:20:56 +02:00

[feature/add_events] Globalize event dispatcher object in some functions

PHPBB3-9550
This commit is contained in:
David King
2012-08-22 08:37:33 -04:00
parent 4f6f0c0897
commit 46597be1a3
2 changed files with 3 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ function user_update_name($old_name, $new_name)
function user_add($user_row, $cp_data = false)
{
global $db, $user, $auth, $config, $phpbb_root_path, $phpEx;
global $phpbb_dispatcher;
if (empty($user_row['username']) || !isset($user_row['group_id']) || !isset($user_row['user_email']) || !isset($user_row['user_type']))
{