110067564-job type and registrar id changes

This commit is contained in:
Stas 2015-12-15 16:55:02 +02:00
parent fcc8bd6f54
commit 2802fcd0af
2 changed files with 2 additions and 2 deletions

View file

@ -439,7 +439,7 @@ class Domain < ActiveRecord::Base
end
def pending_update!
old_registrant_id = registrant_id
old_registrant_id = registrant_id_was
return true if pending_update?
self.epp_pending_update = true # for epp

View file

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