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

Refactored jira issue enforcement method

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