diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-17 09:54:16 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-17 09:54:16 +0100 |
commit | 5e405bfea9a2748af2652bf5dc51fce89a1794f3 (patch) | |
tree | b8bfb43caa069fe9aeec1b57f15184ec442bc212 /app/services/issues/close_service.rb | |
parent | e3d32ff036ab442b9613d4dbceb473f30da048af (diff) | |
download | gitlab-ce-5e405bfea9a2748af2652bf5dc51fce89a1794f3.tar.gz |
Update methods that use issue close service
`Issues::CloseService#execute` signature has changed, because of using
keyword parameter for commmit.
Diffstat (limited to 'app/services/issues/close_service.rb')
-rw-r--r-- | app/services/issues/close_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issues/close_service.rb b/app/services/issues/close_service.rb index 6866d3fcfb9..859c934ea3b 100644 --- a/app/services/issues/close_service.rb +++ b/app/services/issues/close_service.rb @@ -1,6 +1,6 @@ module Issues class CloseService < Issues::BaseService - def execute(issue, commit = nil, notifications: true, system_note: true) + def execute(issue, commit: nil, notifications: true, system_note: true) if project.jira_tracker? && project.jira_service.active project.jira_service.execute(commit, issue) todo_service.close_issue(issue, current_user) |