Commit 03f643e2 authored by Jarka Košanová's avatar Jarka Košanová

Make source param optional according to EE change

parent ee6d9e28
......@@ -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
......
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