mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Story#110391728 - Asking instance, not class to send email
This commit is contained in:
parent
a59d61aa44
commit
e7eb45c324
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
count += 1
|
||||
if domain.pending_update?
|
||||
send_mail :pending_update_expired_notification_for_new_registrant
|
||||
domain.send_mail :pending_update_expired_notification_for_new_registrant
|
||||
end
|
||||
if domain.pending_delete? || domain.pending_delete_confirmation?
|
||||
DomainMailer.pending_delete_expired_notification(domain.id, true).deliver
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue