Merge branch '116043697-domain_reject_delete_status' into staging

This commit is contained in:
Stas 2016-04-11 16:28:40 +03:00
commit e24e008aae

View file

@ -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