Remove unused method in querying.rb.
This commit is contained in:
parent
13afd9fb7b
commit
66c7f283e0
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue