1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 16:10:38 +01:00

[ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times

PHPBB3-15494
This commit is contained in:
Jakub Senko 2018-10-08 16:00:06 +02:00
parent 001f32da95
commit c9df803d3c
No known key found for this signature in database
GPG Key ID: 6A7C328CD66EC21E

View File

@ -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'