diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-10-08 16:00:06 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2018-10-08 16:00:06 +0200 |
commit | c9df803d3c99ddc513cff85ac7083d25b86e890f (patch) | |
tree | c4ef5c0722a0689bdfbaaf89e5e0ab8886654bc5 /phpBB/includes/functions_user.php | |
parent | 001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff) | |
download | forums-c9df803d3c99ddc513cff85ac7083d25b86e890f.tar forums-c9df803d3c99ddc513cff85ac7083d25b86e890f.tar.gz forums-c9df803d3c99ddc513cff85ac7083d25b86e890f.tar.bz2 forums-c9df803d3c99ddc513cff85ac7083d25b86e890f.tar.xz forums-c9df803d3c99ddc513cff85ac7083d25b86e890f.zip |
[ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times
PHPBB3-15494
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index f7be2d2760..50cb140d9b 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -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' |