Commit 61d0b7ff authored by Igor's avatar Igor Committed by Douwe Maan

Remove feature flag behind MR's multiple assignees

parent af1cedeb
......@@ -690,10 +690,6 @@ class Project < ApplicationRecord
{ scope: :project, status: auto_devops&.enabled || Feature.enabled?(:force_autodevops_on_by_default, self) }
end
def multiple_mr_assignees_enabled?
Feature.enabled?(:multiple_merge_request_assignees, self)
end
def daily_statistics_enabled?
Feature.enabled?(:project_daily_statistics, self, default_enabled: true)
end
......
......@@ -76,8 +76,7 @@ module EE
end
def allows_multiple_assignees?
project.multiple_mr_assignees_enabled? &&
project.feature_available?(:multiple_merge_request_assignees)
project.feature_available?(:multiple_merge_request_assignees)
end
def supports_weight?
......
---
title: Remove feature flag behind MR's multiple assignees
merge_request: 14506
author:
type: changed
......@@ -48,15 +48,6 @@ describe MergeRequest do
expect(merge_request.allows_multiple_assignees?).to be(true)
end
it 'does not allows multiple assignees when licensed and feature flag is disabled' do
stub_licensed_features(multiple_merge_request_assignees: true)
stub_feature_flags(multiple_merge_request_assignees: false)
merge_request = build(:merge_request)
expect(merge_request.allows_multiple_assignees?).to be(false)
end
end
describe 'approval_rules' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment