mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 23:20:22 +01:00
Merge pull request #5409 from senky/ticket/15494
[ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times
This commit is contained in:
commit
2862de45bd
@ -3604,11 +3604,6 @@ function remove_newly_registered($user_id, $user_data = false)
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($user_data['user_new']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$sql = 'SELECT group_id
|
||||
FROM ' . GROUPS_TABLE . "
|
||||
WHERE group_name = 'NEWLY_REGISTERED'
|
||||
|
Loading…
x
Reference in New Issue
Block a user