mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
lit ch
This commit is contained in:
parent
95f4e7858b
commit
28c58826e0
5 changed files with 32 additions and 22 deletions
|
@ -71,5 +71,14 @@ class ValidationEvent < ApplicationRecord
|
|||
end
|
||||
|
||||
def lift_force_delete
|
||||
# domain_contacts = Contact.where(email: email).map(&:domain_contacts).flatten
|
||||
# registrant_ids = Registrant.where(email: email).pluck(:id)
|
||||
#
|
||||
# domains = domain_contacts.map(&:domain).flatten +
|
||||
# Domain.where(registrant_id: registrant_ids)
|
||||
#
|
||||
# domains.each do |domain|
|
||||
# Domains::ForceDeleteLift::Base.run(domain: domain)
|
||||
# end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue