aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-10-08 16:00:06 +0200
committerJakub Senko <jakubsenko@gmail.com>2018-10-08 16:00:06 +0200
commitc9df803d3c99ddc513cff85ac7083d25b86e890f (patch)
treec4ef5c0722a0689bdfbaaf89e5e0ab8886654bc5 /phpBB/includes/functions_user.php
parent001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff)
downloadforums-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.php5
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'