14 lines
390 B
Ruby
14 lines
390 B
Ruby
# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
# licensed under the Affero General Public License version 3 or later. See
|
|
# the COPYRIGHT file.
|
|
|
|
|
|
module Jobs
|
|
class DeleteAccount < Base
|
|
@queue = :delete_account
|
|
def self.perform(account_deletion_id)
|
|
account_deletion = AccountDeletion.find(account_deletion_id)
|
|
account_deletion.perform!
|
|
end
|
|
end
|
|
end
|