From f256d433fdb6620965d139020941a04182c1b25d Mon Sep 17 00:00:00 2001 From: Daniel Vincent Grippi Date: Tue, 14 Sep 2010 19:34:26 -0700 Subject: [PATCH] nevermind --- app/models/person.rb | 1 - app/models/user.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/models/person.rb b/app/models/person.rb index 3edb350a2..b9fd85cc0 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -23,7 +23,6 @@ class Person include MongoMapper::Document include ROXML include Encryptor::Public - include Diaspora::Socketable xml_accessor :_id xml_accessor :email diff --git a/app/models/user.rb b/app/models/user.rb index c798a50eb..cefa4e4d4 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -263,8 +263,6 @@ class User person = Diaspora::Parser.owner_id_from_xml xml person.profile = object person.save - - object.socket_to_uid(id, :aspect_ids => aspect_ids) if object.respond_to?(:socket_to_uid) elsif object.is_a?(Comment) object.person = Diaspora::Parser.parse_or_find_person_from_xml( xml ).save if object.person.nil?