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
This commit is contained in:
commit
68d4dc888d
|
@ -211,7 +211,7 @@ module SystemNoteService
|
|||
# "closed via bc17db76"
|
||||
#
|
||||
# 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 << " via #{source.gfm_reference(project)}" if source
|
||||
|
||||
|
|
Loading…
Reference in New Issue