Fix for 'Local variable hides method'

This commit is contained in:
Thomas Krehbiel 2010-09-20 21:49:14 -04:00
parent aa2ea3f300
commit bdd752f07b

View file

@ -104,8 +104,8 @@ class Person
return nil unless public_key_entry
public_key = public_key_entry.first.href
new_person.exported_key = Base64.decode64 public_key
pubkey = public_key_entry.first.href
new_person.exported_key = Base64.decode64 pubkey
guid = profile.links.select{|x| x.rel == 'http://joindiaspora.com/guid'}.first.href
new_person.id = guid