Commit a13dc340 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'remove-mr-list-recheck-feature-flag' into 'master'

Remove the :mr_list_api_skip_merge_status_recheck feature flag

See merge request gitlab-org/gitlab!34081
parents b09b26f3 0613abb6
...@@ -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