diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-25 22:49:05 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-25 22:49:05 -0800 |
commit | 9d85ea3acff1c925118718996afc9daa39d679c7 (patch) | |
tree | 9b5a9a9160d2a8fa3b6f7d5485c367706a4357c5 /app/services/issues/close_service.rb | |
parent | 2b02852507466c8cd7dc9a7db7a7e0dd4c7b5183 (diff) | |
download | gitlab-ce-9d85ea3acff1c925118718996afc9daa39d679c7.tar.gz |
Organize event order execution when update issue or mr
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 ffed13a12e1..f670019cc63 100644 --- a/app/services/issues/close_service.rb +++ b/app/services/issues/close_service.rb @@ -2,9 +2,9 @@ module Issues class CloseService < Issues::BaseService def execute(issue, commit = nil) if issue.close - notification_service.close_issue(issue, current_user) event_service.close_issue(issue, current_user) create_note(issue, commit) + notification_service.close_issue(issue, current_user) execute_hooks(issue, 'close') end |