mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
d2c5c65682
1 changed files with 3 additions and 1 deletions
|
@ -461,9 +461,11 @@ function user_delete($mode, $user_ids, $retain_username = true)
|
||||||
* @var array user_ids IDs of the deleted user
|
* @var array user_ids IDs of the deleted user
|
||||||
* @var mixed retain_username True if username should be retained
|
* @var mixed retain_username True if username should be retained
|
||||||
* or false if not
|
* or false if not
|
||||||
|
* @var array user_rows Array containing data of the deleted users
|
||||||
* @since 3.1.0-a1
|
* @since 3.1.0-a1
|
||||||
|
* @changed 3.2.4-RC1 Added user_rows
|
||||||
*/
|
*/
|
||||||
$vars = array('mode', 'user_ids', 'retain_username');
|
$vars = array('mode', 'user_ids', 'retain_username', 'user_rows');
|
||||||
extract($phpbb_dispatcher->trigger_event('core.delete_user_before', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.delete_user_before', compact($vars)));
|
||||||
|
|
||||||
// Before we begin, we will remove the reports the user issued.
|
// Before we begin, we will remove the reports the user issued.
|
||||||
|
|
Loading…
Add table
Reference in a new issue