summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/services/notification_recipient_service.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb
index cfc1fab210a..b2d805e9f27 100644
--- a/app/services/notification_recipient_service.rb
+++ b/app/services/notification_recipient_service.rb
@@ -311,10 +311,6 @@ module NotificationRecipientService
@read_ability ||= :"read_#{target.class.model_name.name.underscore}"
end
- def subject
- note.for_personal_snippet? ? note.noteable : note.project
- end
-
def build!
# Add all users participating in the thread (author, assignee, comment authors)
add_participants(note.author)