mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/14213] Add pending to core.group_add_user_after
PHPBB3-14213
This commit is contained in:
parent
e6d3ed5529
commit
d37d3ed3ed
1 changed files with 8 additions and 1 deletions
|
@ -2783,9 +2783,16 @@ function group_user_add($group_id, $user_id_ary = false, $username_ary = false,
|
||||||
* @var string group_name Name of the group
|
* @var string group_name Name of the group
|
||||||
* @var array user_id_ary IDs of the users which are added
|
* @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 username_ary names of the users which are added
|
||||||
|
* @var int pending Pending setting, 1 if user(s) added are pending
|
||||||
* @since 3.1.7-RC1
|
* @since 3.1.7-RC1
|
||||||
*/
|
*/
|
||||||
$vars = array('group_id', 'group_name', 'user_id_ary', 'username_ary');
|
$vars = array(
|
||||||
|
'group_id',
|
||||||
|
'group_name',
|
||||||
|
'user_id_ary',
|
||||||
|
'username_ary',
|
||||||
|
'pending',
|
||||||
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.group_add_user_after', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.group_add_user_after', compact($vars)));
|
||||||
|
|
||||||
if (!$group_name)
|
if (!$group_name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue