summaryrefslogtreecommitdiff
path: root/app/services/notification_service.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-15 10:14:39 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-17 07:39:16 +0100
commita23f0e8c9ebd3a7922786d2fc4f3450c1fdecad6 (patch)
treed53c8b5c3783f383699330e4ab243c0ced7fc3b6 /app/services/notification_service.rb
parent93812f2594ab871d613e29ff33ef4eefe298aeaa (diff)
downloadgitlab-ce-a23f0e8c9ebd3a7922786d2fc4f3450c1fdecad6.tar.gz
Reuse existing issue services when moving issue
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index d90e630ff50..19a6779dea9 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -236,14 +236,6 @@ class NotificationService
end
end
- def issue_moved(issue, old_project, new_project, current_user)
- recipients = build_recipients(issue, old_project, current_user)
-
- recipients.each do |recipient|
- mailer.send('issue_moved', recipient.id, issue.id, current_user.id).deliver_later
- end
- end
-
protected
# Get project users with WATCH notification level