Commit 68d4dc88 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'ce-7015-epic-states-notes' into 'master'

Make source param optional according to EE change

See merge request gitlab-org/gitlab-ce!22283
parents 59af98f1 03f643e2
...@@ -211,7 +211,7 @@ module SystemNoteService ...@@ -211,7 +211,7 @@ module SystemNoteService
# "closed via bc17db76" # "closed via bc17db76"
# #
# Returns the created Note object # Returns the created Note object
def change_status(noteable, project, author, status, source) def change_status(noteable, project, author, status, source = nil)
body = status.dup body = status.dup
body << " via #{source.gfm_reference(project)}" if source body << " via #{source.gfm_reference(project)}" if source
......
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