110687814-values_for_pending_apply

This commit is contained in:
Stas 2016-03-21 15:17:00 +02:00
parent 35e7055c7b
commit ed17431ebc

View file

@ -511,6 +511,8 @@ class Epp::Domain < Domain
self.deliver_emails = true # turn on email delivery
self.statuses.delete(DomainStatus::PENDING_UPDATE)
self.upid = user.registrar.id if user.registrar
self.up_date = Time.zone.now
::PaperTrail.whodunnit = user.id_role_username # updator str should be the request originator not the approval user
send_mail :registrant_updated_notification_for_old_registrant