Skip to content
Snippets Groups Projects
Commit 68d4dc88 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

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
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment