mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 11:19: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'])
|
||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||
|
||||
if update(frame, user, false)
|
||||
clean_pendings!
|
||||
self.deliver_emails = true # turn on email delivery for epp
|
||||
DomainMailer.registrant_updated(self).deliver_now
|
||||
end
|
||||
return unless update(frame, user, false)
|
||||
clean_pendings!
|
||||
self.deliver_emails = true # turn on email delivery for epp
|
||||
DomainMailer.registrant_updated(self).deliver_now
|
||||
end
|
||||
|
||||
def apply_pending_delete!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue