Skip to content

Remove requested_hosted_plan Parameter From Group#user_cap_reached?

Jason Goodman requested to merge remove-user-cap-reached-parameter into master

What does this MR do and why?

Remove the requested_hosted_plan parameter from the Group#user_cap_reached? function.

This parameter is never used when user_cap_reached? is invoked. We always leave the default of nil, which is then passed to billable_members_count, which also has a default value of nil for this parameter.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jason Goodman

Merge request reports

Loading