mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Merge pull request #31 from internetee/revert-29-whois-update-related-contacts
Revert "Whois update related contacts"
This commit is contained in:
commit
c0c5a50f23
1 changed files with 0 additions and 7 deletions
|
@ -61,8 +61,6 @@ class Contact < ActiveRecord::Base
|
|||
manage_ok
|
||||
end
|
||||
|
||||
after_save :update_related_whois_records
|
||||
|
||||
# for overwrite when doing children loop
|
||||
attr_writer :domains_present
|
||||
|
||||
|
@ -470,9 +468,4 @@ class Contact < ActiveRecord::Base
|
|||
PENDING_DELETE
|
||||
]).present?
|
||||
end
|
||||
|
||||
def update_related_whois_records
|
||||
related_domain_descriptions.each do |x, y| WhoisRecord.find_by(name: x).save end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue