From 540b8df1b81bab8d198afba0477583519601e20d Mon Sep 17 00:00:00 2001
From: Benjamin Neff <benjamin@coding4coffee.ch>
Date: Tue, 30 Jun 2015 02:59:26 +0200
Subject: [PATCH] don't get url from hcard, is already set from webfinger

prepare for federation refactoring
---
 app/models/person.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/models/person.rb b/app/models/person.rb
index d95d3ddc58..9cfac18218 100644
--- a/app/models/person.rb
+++ b/app/models/person.rb
@@ -264,7 +264,6 @@ class Person < ActiveRecord::Base
     #hcard_profile = HCard.find profile.hcard.first[:href]
     ::Logging::Logger[self].info "event=webfinger_marshal valid=#{new_person.valid?} " \
                                  "target=#{new_person.diaspora_handle}"
-    new_person.url = hcard[:url]
     new_person.assign_new_profile_from_hcard(hcard)
     new_person.save!
     new_person.profile.save!
-- 
GitLab