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>2022-08-17 12:11:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-17 12:11:44 +0300
commite750680e89a6f98803709c172943962741eeb9e7 (patch)
treed3e28a3692460fb37c4891d646220d06e68dfa3d /app/services/notification_service.rb
parenta17e8b168778e5a107928671fd2829ab284e612d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index 2477fcd02e5..5a92adfd25a 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -333,14 +333,6 @@ class NotificationService
end
end
- def attention_requested_of_merge_request(merge_request, current_user, user)
- recipients = NotificationRecipients::BuildService.build_attention_requested_recipients(merge_request, current_user, user)
-
- recipients.each do |recipient|
- mailer.attention_requested_merge_request_email(recipient.user.id, merge_request.id, current_user.id, recipient.reason).deliver_later
- end
- end
-
# When we add labels to a merge request we should send an email to:
#
# * watchers of the mr's labels
@@ -799,7 +791,7 @@ class NotificationService
end
recipients = NotificationRecipients::BuildService.build_recipients(target, current_user, action: "new")
- recipients = recipients.select {|r| new_mentioned_users.include?(r.user) }
+ recipients = recipients.select { |r| new_mentioned_users.include?(r.user) }
recipients.each do |recipient|
mailer.send(method, recipient.user.id, target.id, current_user.id, recipient.reason).deliver_later