diff options
Diffstat (limited to 'lib/api/entities/merge_request_basic.rb')
-rw-r--r-- | lib/api/entities/merge_request_basic.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/entities/merge_request_basic.rb b/lib/api/entities/merge_request_basic.rb index adff7f87cd3..56519e2bf08 100644 --- a/lib/api/entities/merge_request_basic.rb +++ b/lib/api/entities/merge_request_basic.rb @@ -107,8 +107,6 @@ module API end def can_check_mergeability?(project) - return true if ::Feature.disabled?(:restrict_merge_status_recheck, project) - Ability.allowed?(options[:current_user], :update_merge_request, project) end end |