aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorZoddo <git@zoddo.fr>2018-07-30 13:02:06 +0200
committerZoddo <git@zoddo.fr>2018-07-30 13:02:06 +0200
commit70c28aace5398b2358f9bc157caf8e41f82293ca (patch)
treec51803ebc5c54311465c301c15295daa6d1603c8 /phpBB/includes/functions_user.php
parent04899d1efd261493111e309600531d363b73bc46 (diff)
downloadforums-70c28aace5398b2358f9bc157caf8e41f82293ca.tar
forums-70c28aace5398b2358f9bc157caf8e41f82293ca.tar.gz
forums-70c28aace5398b2358f9bc157caf8e41f82293ca.tar.bz2
forums-70c28aace5398b2358f9bc157caf8e41f82293ca.tar.xz
forums-70c28aace5398b2358f9bc157caf8e41f82293ca.zip
[ticket/15737] Add $user_rows to core.delete_user_before
It was added to core.delete_user_after in GH-4905 PHPBB3-15737
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 245d263720..f7be2d2760 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -461,9 +461,11 @@ function user_delete($mode, $user_ids, $retain_username = true)
* @var array user_ids IDs of the deleted user
* @var mixed retain_username True if username should be retained
* or false if not
+ * @var array user_rows Array containing data of the deleted users
* @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)));
// Before we begin, we will remove the reports the user issued.