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