mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Add check if domain got *UpdateProhibited
This commit is contained in:
parent
8a399569fe
commit
3c1b989723
3 changed files with 19 additions and 2 deletions
|
@ -6,7 +6,7 @@ class TechDomainContact < DomainContact
|
|||
tech_contacts = where(contact: current_contact)
|
||||
|
||||
tech_contacts.each do |tech_contact|
|
||||
if tech_contact.domain.discarded?
|
||||
if tech_contact.domain.bulk_update_prohibited?
|
||||
skipped_domains << tech_contact.domain.name
|
||||
next
|
||||
end
|
||||
|
@ -18,7 +18,6 @@ class TechDomainContact < DomainContact
|
|||
skipped_domains << tech_contact.domain.name
|
||||
end
|
||||
end
|
||||
|
||||
[affected_domains.sort, skipped_domains.sort]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue