1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17429] Add add_id_ary to event and fix since version

PHPBB-17429
This commit is contained in:
Marc Alexander
2024-11-24 20:15:18 +01:00
parent 5d0b1661f2
commit 5538b9a37b

View File

@@ -2765,10 +2765,11 @@ function group_user_add($group_id, $user_id_ary = false, $username_ary = false,
* @event core.group_add_user_before
* @var int group_id ID of the group to which users are added
* @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
* @var array user_id_ary IDs of the users to be added
* @var array username_ary Names of the users to be added
* @var int pending Pending setting, 1 if user(s) added are pending
* @since 3.3.14
* @var array add_id_ary IDs of the users to be added who are not members yet
* @since 3.3.15-RC1
*/
$vars = array(
'group_id',
@@ -2776,6 +2777,7 @@ function group_user_add($group_id, $user_id_ary = false, $username_ary = false,
'user_id_ary',
'username_ary',
'pending',
'add_id_ary',
);
extract($phpbb_dispatcher->trigger_event('core.group_add_user_before', compact($vars)));