mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Merge branch '116043697-domain_reject_delete_status' into staging
This commit is contained in:
commit
e24e008aae
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ class DomainDeleteConfirmJob < Que::Job
|
|||
domain.cancel_pending_delete
|
||||
end
|
||||
::PaperTrail.whodunnit = "job - #{self.class.name} - #{action}"
|
||||
domain.save(validate: false)
|
||||
destroy # it's best to destroy the job in the same transaction
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue