mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 19:29:39 +02:00
Rubocop syntax update
This commit is contained in:
parent
a59ed2331b
commit
1311d50ae7
1 changed files with 4 additions and 5 deletions
|
@ -398,11 +398,10 @@ class Epp::Domain < Domain
|
||||||
frame = Nokogiri::XML(pending_json['frame'])
|
frame = Nokogiri::XML(pending_json['frame'])
|
||||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||||
|
|
||||||
if update(frame, user, false)
|
return unless update(frame, user, false)
|
||||||
clean_pendings!
|
clean_pendings!
|
||||||
self.deliver_emails = true # turn on email delivery for epp
|
self.deliver_emails = true # turn on email delivery for epp
|
||||||
DomainMailer.registrant_updated(self).deliver_now
|
DomainMailer.registrant_updated(self).deliver_now
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def apply_pending_delete!
|
def apply_pending_delete!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue