aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-23 09:17:38 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-23 09:31:13 +0200
commit9ff6358dc98987fdf0c7512584aa03392594bcf0 (patch)
tree2e78afa7485bb4d7da1170c1c0051fad056e4a07 /phpBB/includes/functions_user.php
parentbef207e9b747539fdd1d1961e431e10b77b31ab6 (diff)
parentbea5f94de654df6b009d6058816ad500836469b3 (diff)
downloadforums-9ff6358dc98987fdf0c7512584aa03392594bcf0.tar
forums-9ff6358dc98987fdf0c7512584aa03392594bcf0.tar.gz
forums-9ff6358dc98987fdf0c7512584aa03392594bcf0.tar.bz2
forums-9ff6358dc98987fdf0c7512584aa03392594bcf0.tar.xz
forums-9ff6358dc98987fdf0c7512584aa03392594bcf0.zip
Merge branch 'ticket/10729' into ticket/10729-asc
Conflicts: phpBB/includes/functions_user.php
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index ac3dcd02ff..369c59dabb 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -363,12 +363,16 @@ function user_add($user_row, $cp_data = false)
}
/**
-* Remove User
-* @param $mode Either 'retain' or 'remove'
-*/
+ * Remove User
+ *
+ * @param string $mode Either 'retain' or 'remove'
+ * @param mixed $user_ids Either an array of integers or an integer
+ * @param bool $retain_username
+ * @return bool
+ */
function user_delete($mode, $user_ids, $retain_username = true)
{
- global $cache, $config, $db, $user, $auth, $phpbb_dispatcher;
+ global $cache, $config, $db, $user, $phpbb_dispatcher;
global $phpbb_root_path, $phpEx;
$db->sql_transaction('begin');