mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Merge pull request #100 from internetee/story/115042421-expire-pending
Story#115042421 - we don't need here deliver email variable as sendin…
This commit is contained in:
commit
57f77196da
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class DomainCron
|
||||||
DomainMailer.pending_update_expired_notification_for_new_registrant(domain.id).deliver
|
DomainMailer.pending_update_expired_notification_for_new_registrant(domain.id).deliver
|
||||||
end
|
end
|
||||||
if domain.pending_delete? || domain.pending_delete_confirmation?
|
if domain.pending_delete? || domain.pending_delete_confirmation?
|
||||||
DomainMailer.pending_delete_expired_notification(domain.id, deliver_emails).deliver
|
DomainMailer.pending_delete_expired_notification(domain.id, true).deliver
|
||||||
end
|
end
|
||||||
domain.clean_pendings_lowlevel
|
domain.clean_pendings_lowlevel
|
||||||
unless Rails.env.test?
|
unless Rails.env.test?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue