diff options
author | Wardormeur <wardormeur@gmail.com> | 2015-10-04 21:13:49 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-12-07 22:34:59 +0100 |
commit | 2419f63aab8b1d164511e1688228ef8b11e2d515 (patch) | |
tree | 539f068fab9eba0d346c50676e992e385984c87d /phpBB | |
parent | 20e26a3920809b8abb163954743aaf0a5adf5271 (diff) | |
download | forums-2419f63aab8b1d164511e1688228ef8b11e2d515.tar forums-2419f63aab8b1d164511e1688228ef8b11e2d515.tar.gz forums-2419f63aab8b1d164511e1688228ef8b11e2d515.tar.bz2 forums-2419f63aab8b1d164511e1688228ef8b11e2d515.tar.xz forums-2419f63aab8b1d164511e1688228ef8b11e2d515.zip |
[ticket/14213] Adding missing reference to event dispatcher
Required to dispatch event, wasn't included into global
PHPBB3-14213
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 66da6503ae..123a893f23 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -2698,7 +2698,7 @@ function group_delete($group_id, $group_name = false) */ function group_user_add($group_id, $user_id_ary = false, $username_ary = false, $group_name = false, $default = false, $leader = 0, $pending = 0, $group_attributes = false) { - global $db, $auth, $phpbb_container; + global $db, $auth, $phpbb_container, $phpbb_dispatcher; // We need both username and user_id info $result = user_get_id_name($user_id_ary, $username_ary); @@ -2762,7 +2762,7 @@ function group_user_add($group_id, $user_id_ary = false, $username_ary = false, * @var string group_name Name of the group * @var array user_id_ary IDs of the users which are added * @var array username_ary names of the users which are added - * @since 3.6 + * @since 3.7 */ $vars = array('group_id', 'group_name', 'user_id_ary', 'username_ary'); extract($phpbb_dispatcher->trigger_event('core.group_add_user_after', compact($vars))); |