mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Remove clean_pendings_lowlevel method
This commit is contained in:
parent
a8884b0545
commit
8fb3d511c2
3 changed files with 7 additions and 32 deletions
|
@ -21,7 +21,10 @@ class DomainCron
|
|||
if domain.pending_delete? || domain.pending_delete_confirmation?
|
||||
DomainMailer.pending_delete_expired_notification(domain.id, true).deliver
|
||||
end
|
||||
domain.clean_pendings_lowlevel
|
||||
|
||||
domain.preclean_pendings
|
||||
domain.clean_pendings!
|
||||
|
||||
unless Rails.env.test?
|
||||
STDOUT << "#{Time.zone.now.utc} DomainCron.clean_expired_pendings: ##{domain.id} (#{domain.name})\n"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue