X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4370fe45add697f481ab88764aba8379eb3316c2..0cd18eb02f853bfa93673f046b793bd53ac5aa68:/app/models/note.rb diff --git a/app/models/note.rb b/app/models/note.rb index 17b57c0fa..376516e9b 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -99,16 +99,6 @@ class Note < ApplicationRecord comments.first.author end - # Return the note's author ID, derived from the first comment - def author_id - comments.first.author_id - end - - # Return the note's author IP address, derived from the first comment - def author_ip - comments.first.author_ip - end - private # Fill in default values for new notes