mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times
PHPBB3-15494
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user