Remove the obsolete `requires_approve?` method
The following discussion from !5635 (merged) should be addressed:
-
@rdavila started a discussion: (+3 comments) If
approvals_requiredis0is a bit confusing havingrequires_approve?to returntrue, can we improve that?
!5635 (merged) removes the ability to disable approvals for a merge request, in favour of being able to set the number of approvals to 0. This ~technical debt issue tracks the process of removing some legacy code that the frontend depends on to conditionally render certain elements. At present, the backend is simply returning true unconditionally.
/cc @crollison