X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3eccf65d8cf2ceb13050f5c8d1396546631994be..687429482f3a35bfcf1c828c4223c257b8c556ca:/app/models/note.rb?ds=sidebyside 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