Adding a log statement to zombiefriends

This commit is contained in:
Raphael 2010-09-10 18:57:08 -07:00
parent d9bb850b5b
commit ebd4bea5de

View file

@ -30,6 +30,7 @@ def warzombie
backer_email = "#{backer['username']}@#{backer['username']}.joindiaspora.com"
rel_hash = relationship_flow(backer_email)
logger.info "Zombefriending #{backer['given_name']} #{backer['family_name']}"
logger.info "Calling send_friend_request with #{rel_hash[:friend]} and #{current_user.groups.first}"
current_user.send_friend_request_to(rel_hash[:friend], current_user.groups.first)
end
end