mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
changed condition for lift FD
This commit is contained in:
parent
3697ec2ba5
commit
b10a72f763
1 changed files with 7 additions and 2 deletions
|
@ -27,8 +27,13 @@ module Domains
|
||||||
end
|
end
|
||||||
|
|
||||||
def contact_emails_valid?(domain)
|
def contact_emails_valid?(domain)
|
||||||
domain.contacts.all(&:need_to_lift_force_delete?) &&
|
flag = nil
|
||||||
domain.registrant.need_to_lift_force_delete?
|
domain.contacts do |c|
|
||||||
|
flag = c.need_to_lift_force_delete?
|
||||||
|
return flag unless flag
|
||||||
|
end
|
||||||
|
|
||||||
|
flag && domain.registrant.need_to_lift_force_delete?
|
||||||
end
|
end
|
||||||
|
|
||||||
def bounces_absent?(domain)
|
def bounces_absent?(domain)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue