summaryrefslogtreecommitdiff
path: root/app/models/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/group.rb')
-rw-r--r--app/models/group.rb6
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