Commit 6b2c3124 authored by Andy Soiron's avatar Andy Soiron

Use ext. tracker to cross reference ext. issues

This change doesn't change the logic.
it is just to point out clearly
that for external issues only
external_issue_tracker can be used
parent e166a9ae
......@@ -128,7 +128,7 @@ module SystemNotes
body = cross_reference_note_content(gfm_reference)
if noteable.is_a?(ExternalIssue)
noteable.project.issues_tracker.create_cross_reference_note(noteable, mentioner, author)
noteable.project.external_issue_tracker.create_cross_reference_note(noteable, mentioner, author)
else
create_note(NoteSummary.new(noteable, noteable.project, author, body, action: 'cross_reference'))
end
......
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