Story#111503520 - reject verification shouldn't validate

This commit is contained in:
Vladimir Krylov 2016-01-12 17:29:13 +02:00
parent b28748d667
commit 782fcc9dec

View file

@ -13,7 +13,7 @@ class DomainUpdateConfirmJob < Que::Job
domain.send_mail :pending_update_rejected_notification_for_new_registrant
domain.poll_message!(:poll_pending_update_rejected_by_registrant)
domain.clean_pendings!
domain.save
domain.save(validate: false)
end
destroy # it's best to destroy the job in the same transaction
end