From 35e7055c7ba4bde7ab5d347b48ea6ce2fc7f5000 Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 15 Mar 2016 13:01:25 +0200 Subject: [PATCH] 110687814-update_point_changed --- app/models/epp/domain.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index b92a33e5a..737a434d6 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -489,14 +489,13 @@ class Epp::Domain < Domain # at[:statuses] += at_add[:domain_statuses_attributes] - self.upid = current_user.id if current_user - self.up_date = Time.zone.now - if errors.empty? && verify && Setting.request_confrimation_on_registrant_change_enabled && frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes' registrant_verification_asked!(frame.to_s, current_user.id) + self.upid = current_user.registrar.id if current_user.registrar + self.up_date = Time.zone.now end self.deliver_emails = true # turn on email delivery for epp