aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-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];
}