diff options
Diffstat (limited to 'app/services/block_domain_from_account_service.rb')
-rw-r--r-- | app/services/block_domain_from_account_service.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/block_domain_from_account_service.rb b/app/services/block_domain_from_account_service.rb deleted file mode 100644 index cae7abcbd..000000000 --- a/app/services/block_domain_from_account_service.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -class BlockDomainFromAccountService < BaseService - def call(account, domain) - account.block_domain!(domain) - account.passive_relationships.where(account: Account.where(domain: domain)).delete_all - end -end |