mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
115693873-log_changes
This commit is contained in:
parent
248a04f63a
commit
24aec79ceb
5 changed files with 7 additions and 8 deletions
|
@ -353,7 +353,6 @@ class Domain < ActiveRecord::Base
|
|||
|
||||
status_notes[DomainStatus::PENDING_UPDATE] = ''
|
||||
status_notes[DomainStatus::PENDING_DELETE] = ''
|
||||
::PaperTrail.whodunnit = "Domain - #{__method__}"
|
||||
|
||||
update_columns(
|
||||
registrant_verification_token: nil,
|
||||
|
@ -435,7 +434,6 @@ class Domain < ActiveRecord::Base
|
|||
# TODO: if this were to ever return true, that would be wrong. EPP would report sucess pending
|
||||
return true unless registrant_verification_asked?
|
||||
pending_delete_confirmation!
|
||||
::PaperTrail.whodunnit = "#{self.class.name} - #{__method__}"
|
||||
save(validate: false) # should check if this did succeed
|
||||
|
||||
DomainMailer.pending_deleted(id, registrant_id_was, deliver_emails).deliver
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue