Welcome to mirror list, hosted at ThFree Co, Russian Federation.

delete_account.rb « workers « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3aa95eff1f96a8ee3ac5fa2866ac6002a76efa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#   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 Workers
  class DeleteAccount < Base
    sidekiq_options queue: :low
    
    def perform(account_deletion_id)
      account_deletion = AccountDeletion.find(account_deletion_id)
      account_deletion.perform!
    end
  end
end