diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-09 06:09:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-09 06:09:01 +0300 |
commit | 0a9efe02885d9ad4dbdaf61746ae81daea0f575b (patch) | |
tree | ccd02a93eaaadb1c547c5f6e1d239d9276908bc6 /app/services/system_note_service.rb | |
parent | f44bf01f69a491d4dfca8d631b390371bd0eec7a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/system_note_service.rb')
-rw-r--r-- | app/services/system_note_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index c168e739260..79a2e9b6c17 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -292,6 +292,10 @@ module SystemNoteService merge_requests_service(noteable, noteable.project, user).unapprove_mr end + def change_alert_status(alert, author) + ::SystemNotes::AlertManagementService.new(noteable: alert, project: alert.project, author: author).change_alert_status(alert) + end + private def merge_requests_service(noteable, project, author) |