Merge pull request #54 from internetee/110163446-confirm_emails

110163446 confirm emails
This commit is contained in:
Timo Võhmar 2016-01-04 15:30:35 +02:00
commit 3c33a44f38

View file

@ -22,7 +22,7 @@ class RegistrantVerification < ActiveRecord::Base
def domain_registrant_change_reject! def domain_registrant_change_reject!
self.action_type = DOMAIN_REGISTRANT_CHANGE self.action_type = DOMAIN_REGISTRANT_CHANGE
self.action = REJECTED self.action = REJECTED
DomainUpdateConfirmJob.enqueue domain.id, REJECTED if save DomainUpdateConfirmJob.run domain.id, REJECTED if save
end end
def domain_registrant_delete_confirm! def domain_registrant_delete_confirm!