X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bde5fb48dbe2159f6f631ea6ed3604c97412f7c6..68481fe7753432ffd3051ede15f7518b1c0d73c9:/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