aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-06-08 07:27:51 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-06-08 07:27:51 +0000
commit08e34f03b3dd6b80aec15dad3332ffdeb0204542 (patch)
tree39eca0a444f04e94f1508fbcc9be54e45003a378 /phpBB/includes/functions_user.php
parentcf7a17218392fc4bc2fd2ea7580b419d8fcdf1c7 (diff)
downloadforums-08e34f03b3dd6b80aec15dad3332ffdeb0204542.tar
forums-08e34f03b3dd6b80aec15dad3332ffdeb0204542.tar.gz
forums-08e34f03b3dd6b80aec15dad3332ffdeb0204542.tar.bz2
forums-08e34f03b3dd6b80aec15dad3332ffdeb0204542.tar.xz
forums-08e34f03b3dd6b80aec15dad3332ffdeb0204542.zip
#12231
git-svn-id: file:///svn/phpbb/trunk@7723 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 2c733a9ebd..a1fd2c5555 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -2702,12 +2702,6 @@ function group_set_user_default($group_id, $user_id_ary, $group_attributes = fal
continue;
}
- // Do not update the rank if it is set to "user default"
- if (strpos($attribute, 'group_rank') === 0 && !$group_attributes[$attribute])
- {
- continue;
- }
-
settype($group_attributes[$attribute], $type);
$sql_ary[str_replace('group_', 'user_', $attribute)] = $group_attributes[$attribute];
}