diff --git a/app/models/person.rb b/app/models/person.rb index 98c9fc627..427148a6f 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -168,14 +168,6 @@ class Person < ActiveRecord::Base } end - def self.from_post_comment_hash(hash) - person_ids = hash.values.flatten.map!{|c| c.person_id}.uniq - people = where(:id => person_ids) - people_hash = {} - people.each{|p| people_hash[p.id] = p} - people_hash - end - protected def clean_url