From f50c7ecadcea18575df8a18526b0a78c5b0e1d87 Mon Sep 17 00:00:00 2001 From: Marin Jankovski <marin@gitlab.com> Date: Wed, 2 Jul 2014 19:09:27 +0200 Subject: [PATCH] Remove new lines. --- app/services/notification_service.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 4add3fae34b..af61a94a175 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -88,9 +88,7 @@ class NotificationService # def merge_mr(merge_request, current_user) recipients = reject_muted_users([merge_request.author, merge_request.assignee], merge_request.target_project) - recipients = recipients.concat(project_watchers(merge_request.target_project)).uniq - recipients.delete(merge_request.merge_event.author) if merge_request.merged? recipients.each do |recipient| -- 2.30.9