diff options
author | David King <imkingdavid@gmail.com> | 2012-08-22 08:37:33 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-08-22 08:37:33 -0400 |
commit | 46597be1a372f1215ffc18cfd645c1e977b44d84 (patch) | |
tree | c641e8ad003421f2576dd6363dfc94db8e485225 /phpBB/includes/functions_user.php | |
parent | 4f6f0c08979d420a47f5cc4bcab2709d27853222 (diff) | |
download | forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar.gz forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar.bz2 forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar.xz forums-46597be1a372f1215ffc18cfd645c1e977b44d84.zip |
[feature/add_events] Globalize event dispatcher object in some functions
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index f4ecb7cdc3..f843902dd5 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -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'])) { |