Remove unused method in querying.rb.

This commit is contained in:
Raphael Sofaer 2011-08-05 18:24:22 -07:00
parent 13afd9fb7b
commit 66c7f283e0

View file

@ -53,10 +53,6 @@ module Diaspora
Post.where(:id => post_ids).select('DISTINCT posts.*').limit(opts[:limit]).order(order_with_table)
end
def visible_photos(opts = {})
visible_posts(opts.merge(:type => 'Photo'))
end
def contact_for(person)
return nil unless person
contact_for_person_id(person.id)