diff options
author | Jarka Košanová <jarka@gitlab.com> | 2018-10-08 15:55:52 +0300 |
---|---|---|
committer | Jarka Košanová <jarka@gitlab.com> | 2018-10-11 09:04:25 +0300 |
commit | 03f643e2d0432dd0d052cb7163fe903030a35cd6 (patch) | |
tree | 22120b2a2089e961300a5b9c6033331a46f1695c /app/services/system_note_service.rb | |
parent | ee6d9e2843d1f4ff5ad35cd1922e839f82971dbd (diff) |
Make source param optional according to EE change
Diffstat (limited to 'app/services/system_note_service.rb')
-rw-r--r-- | app/services/system_note_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index 575678da1fa..729bc991294 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -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 |