Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-09 06:09:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-09 06:09:01 +0300
commit0a9efe02885d9ad4dbdaf61746ae81daea0f575b (patch)
treeccd02a93eaaadb1c547c5f6e1d239d9276908bc6 /app/services/system_note_service.rb
parentf44bf01f69a491d4dfca8d631b390371bd0eec7a (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.rb4
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)