mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
115693873-pt_added
This commit is contained in:
parent
1882af7282
commit
c447bc4d64
2 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ class UpdateWhoisRecordJob < Que::Job
|
|||
else
|
||||
send "delete_#{type}", name
|
||||
end
|
||||
::PaperTrail.whodunnit = "job - #{self.class.name} - #{type}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -434,6 +434,7 @@ 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