DG IZ got one more log statement in the user person retraction

This commit is contained in:
ilya 2010-08-16 10:00:04 -07:00
parent 22910ef4ce
commit d0c02859e6

View file

@ -144,7 +144,10 @@ class User
if object.is_a? Retraction
if object.type == 'Person' && object.signature_valid?
Rails.logger.info( "the person id is #{object.post_id} the friend found is #{friends.first(object.post_id)}")
unfriended_by friends.first(object.post_id)
else
object.perform self.id
end