aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-13 16:59:44 -0700
committerMarc Alexander <admin@m-a-styles.de>2018-10-13 16:59:44 -0700
commit2862de45bdf1da008d31692e8fd0fde2799a22d4 (patch)
treebf5f40aadd48549d8884c5f1555d8fe4d107d9f3 /phpBB/includes
parentdfa533af4a68401c3e5fd8d081638a159001618b (diff)
parentc9df803d3c99ddc513cff85ac7083d25b86e890f (diff)
downloadforums-2862de45bdf1da008d31692e8fd0fde2799a22d4.tar
forums-2862de45bdf1da008d31692e8fd0fde2799a22d4.tar.gz
forums-2862de45bdf1da008d31692e8fd0fde2799a22d4.tar.bz2
forums-2862de45bdf1da008d31692e8fd0fde2799a22d4.tar.xz
forums-2862de45bdf1da008d31692e8fd0fde2799a22d4.zip
Merge pull request #5409 from senky/ticket/15494
[ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times
Diffstat (limited to 'phpBB/includes')
-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 f4b60d7ad4..2677916a7d 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'