removed two unused methods
This commit is contained in:
parent
bfb132280a
commit
3f7955f978
3 changed files with 0 additions and 12 deletions
|
|
@ -21,9 +21,6 @@ module SocketsHelper
|
|||
action_hash.merge! opts
|
||||
if object.is_a? Photo
|
||||
action_hash[:photo_hash] = object.thumb_hash
|
||||
elsif object.is_a? StatusMessage
|
||||
action_hash[:status_message_hash] = object.latest_hash
|
||||
action_hash[:status_message_hash][:mine?] = true if object.person.owner_id == uid
|
||||
end
|
||||
|
||||
if object.person.owner_id == uid
|
||||
|
|
|
|||
|
|
@ -29,11 +29,6 @@ class Aspect
|
|||
name
|
||||
end
|
||||
|
||||
def posts_by_person_id( id )
|
||||
id = id.to_id
|
||||
posts.detect{|x| x.person.id == id }
|
||||
end
|
||||
|
||||
def person_objects
|
||||
person_ids = people.map{|x| x.person_id}
|
||||
Person.all(:id.in => person_ids)
|
||||
|
|
|
|||
|
|
@ -24,9 +24,5 @@ class StatusMessage < Post
|
|||
</entry>
|
||||
XML
|
||||
end
|
||||
|
||||
def latest_hash
|
||||
{ :text => message}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue