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:
Kamil Trzciński 2018-10-16 08:53:34 +00:00
commit 68d4dc888d
1 changed files with 1 additions and 1 deletions

View File

@ -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