Commit af6b0f5c authored by Igor Drozdov's avatar Igor Drozdov

Remove refresh_only_existing_merge_requests_on_push FF

parent bdc9ae90
...@@ -75,8 +75,6 @@ module Git ...@@ -75,8 +75,6 @@ module Git
end end
def merge_request_branches_for(changes) def merge_request_branches_for(changes)
return if Feature.disabled?(:refresh_only_existing_merge_requests_on_push, default_enabled: true)
@merge_requests_branches ||= MergeRequests::PushedBranchesService.new(project, current_user, changes: changes).execute @merge_requests_branches ||= MergeRequests::PushedBranchesService.new(project, current_user, changes: changes).execute
end end
end end
......
...@@ -190,18 +190,6 @@ RSpec.describe Git::ProcessRefChangesService do ...@@ -190,18 +190,6 @@ RSpec.describe Git::ProcessRefChangesService do
subject.execute subject.execute
end end
context 'refresh_only_existing_merge_requests_on_push disabled' do
before do
stub_feature_flags(refresh_only_existing_merge_requests_on_push: false)
end
it 'refreshes all merge requests' do
expect(UpdateMergeRequestsWorker).to receive(:perform_async).exactly(3).times
subject.execute
end
end
end end
end end
......
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