Commit 8691f859 authored by Aishwarya Subramanian's avatar Aishwarya Subramanian

Refactored jira issue enforcement method

parent cb2cb85d
......@@ -771,9 +771,7 @@ module EE
end
def prevent_merge_without_jira_issue?
return false unless jira_issue_association_required_to_merge_enabled?
prevent_merge_without_jira_issue
jira_issue_association_required_to_merge_enabled? && prevent_merge_without_jira_issue
end
private
......
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