mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 06:55:25 +02:00
[ticket/10729] Fix doc block for user_delete
PHPBB3-10729
This commit is contained in:
parent
da6b378e64
commit
d48e4b680e
@ -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)
|
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;
|
global $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
$sql = 'SELECT *
|
$sql = 'SELECT *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user