Commit 934305ff authored by http://jneen.net/'s avatar http://jneen.net/

rm unused NewNote#subject

its functionality is swept into the project permission check
in NotificationRecipient#has_access? now
parent 9d53418a
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment