mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Merge branch 'story/105754008-confirm-domain-change' into staging
This commit is contained in:
commit
da937acc34
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ class DomainUpdateConfirmJob < Que::Job
|
||||||
DomainMailer.pending_update_rejected_notification_for_new_registrant(domain).deliver_now
|
DomainMailer.pending_update_rejected_notification_for_new_registrant(domain).deliver_now
|
||||||
domain.poll_message!(:poll_pending_update_rejected_by_registrant)
|
domain.poll_message!(:poll_pending_update_rejected_by_registrant)
|
||||||
domain.clean_pendings!
|
domain.clean_pendings!
|
||||||
|
domain.instance_variable_set("@changed_attributes", domain.changed_attributes.merge("statuses"=>[]))
|
||||||
|
domain.save
|
||||||
end
|
end
|
||||||
destroy # it's best to destroy the job in the same transaction
|
destroy # it's best to destroy the job in the same transaction
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue