blob: d23f79be2be9448f3d53571288b5bc19fc4a4062 (
plain)
1
2
3
4
5
6
7
|
- issuable = local_assigns.fetch(:issuable)
- return unless issuable.is_a?(MergeRequest)
- return if issuable.closed_without_fork?
-# This check is duplicated below, to avoid conflicts with EE.
- return unless issuable.can_remove_source_branch?(current_user)
|