diff options
author | http://jneen.net/ <jneen@jneen.net> | 2017-08-01 21:51:01 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2017-08-03 19:07:18 +0300 |
commit | 934305ffa3eb1662a367761058ae8ded210d3336 (patch) | |
tree | c7bdfa24f5f1858d0a766f55afbd6eec00c89b12 /app/services | |
parent | 9d53418acb736476e4ede216c1ba9d08a5e3554a (diff) |
rm unused NewNote#subject
its functionality is swept into the project permission check
in NotificationRecipient#has_access? now
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notification_recipient_service.rb | 4 |
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) |