setting the account deletion name in the xml

This commit is contained in:
Ilya Zhitomirskiy 2011-11-10 17:27:53 -08:00 committed by Maxwell Salzberg
parent 1552b5bcc2
commit e57698bbe8

View file

@ -12,7 +12,8 @@ class AccountDeletion < ActiveRecord::Base
attr_accessible :person
xml_attr :diaspora_handle
xml_name :account_deletion
xml_attr :diaspora_handle
def person=(person)
self[:diaspora_handle] = person.diaspora_handle
@ -31,8 +32,8 @@ class AccountDeletion < ActiveRecord::Base
end
def perform!
AccountDeleter.new(self.diaspora_handle).perform!
self.dispatch if person.local?
#AccountDeleter.new(self.diaspora_handle).perform!
end
def subscribers(user)