Commit 0613abb6 authored by Nick Thomas's avatar Nick Thomas

Remove the :mr_list_api_skip_merge_status_recheck feature flag

This was introduced "just in case", but we've had no complaints so now
is a good time to remove it.
parent 315e9e46
...@@ -92,10 +92,8 @@ module API ...@@ -92,10 +92,8 @@ module API
options[:with] = Entities::MergeRequestSimple options[:with] = Entities::MergeRequestSimple
else else
options[:issuable_metadata] = Gitlab::IssuableMetadata.new(current_user, merge_requests).data options[:issuable_metadata] = Gitlab::IssuableMetadata.new(current_user, merge_requests).data
if Feature.enabled?(:mr_list_api_skip_merge_status_recheck, default_enabled: true)
options[:skip_merge_status_recheck] = !declared_params[:with_merge_status_recheck] options[:skip_merge_status_recheck] = !declared_params[:with_merge_status_recheck]
end end
end
options options
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