diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 15:11:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 15:11:03 +0300 |
commit | 027f19b39c73b3b98e7cf305fead871626e8b717 (patch) | |
tree | d97ff241c76a5655f8f58444ccf76695b1b89bcf /app/models/group.rb | |
parent | a7b422860c90eecd1b98845d234a8347686fbdcf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 1445e71b0bc..38623d91705 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -904,11 +904,7 @@ class Group < Namespace end def packages_policy_subject - if Feature.enabled?(:read_package_policy_rule, self) - ::Packages::Policies::Group.new(self) - else - self - end + ::Packages::Policies::Group.new(self) end def update_two_factor_requirement_for_members |