Using methods that exist can be helpful

This commit is contained in:
Raphael 2010-09-09 17:54:33 -07:00
parent e9377a681c
commit 222847ca92

View file

@ -193,7 +193,7 @@ class User
post.unsocket_from_uid(self.id) if post.respond_to? :unsocket_from_uid
retraction = Retraction.for(post)
retraction.creator_signature = retraction.sign_with_key( encryption_key )
push_to_people retraction, people_with_groups(groups_with_post(post.id))
push_to_people retraction, people_in_groups(groups_with_post(post.id))
retraction
end