aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-22 00:55:08 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-22 00:55:08 +0200
commitd48e4b680e55ef9b4eb6ea0bd9748ad501f80b30 (patch)
treeddeaa041e90a420bfaea743467db6fec9178f293 /phpBB/includes/functions_user.php
parentda6b378e64d2457ddbcd299d769ecf0167ffb9c8 (diff)
downloadforums-d48e4b680e55ef9b4eb6ea0bd9748ad501f80b30.tar
forums-d48e4b680e55ef9b4eb6ea0bd9748ad501f80b30.tar.gz
forums-d48e4b680e55ef9b4eb6ea0bd9748ad501f80b30.tar.bz2
forums-d48e4b680e55ef9b4eb6ea0bd9748ad501f80b30.tar.xz
forums-d48e4b680e55ef9b4eb6ea0bd9748ad501f80b30.zip
[ticket/10729] Fix doc block for user_delete
PHPBB3-10729
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 20c371f8e5..abb057df5b 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -329,11 +329,16 @@ function user_add($user_row, $cp_data = false)
}
/**
-* Remove User
-*/
+ * Remove User
+ *
+ * @param string $mode 'retain' or 'remove'
+ * @param int $user_id
+ * @param mixed $post_username
+ * @return bool
+ */
function user_delete($mode, $user_id, $post_username = false)
{
- global $cache, $config, $db, $user, $auth;
+ global $cache, $config, $db, $user;
global $phpbb_root_path, $phpEx;
$sql = 'SELECT *