mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
Set single poll message for force delete
This commit is contained in:
parent
f1ceff818e
commit
a9ce9dba51
4 changed files with 16 additions and 5 deletions
|
@ -7,7 +7,9 @@ module Admin
|
|||
domain.transaction do
|
||||
domain.schedule_force_delete(type: force_delete_type)
|
||||
domain.registrar.notifications.create!(text: t('force_delete_set_on_domain',
|
||||
domain_name: domain.name))
|
||||
domain_name: domain.name,
|
||||
outzone_date: domain.outzone_date,
|
||||
purge_date: domain.purge_date))
|
||||
|
||||
notify_by_email if notify_by_email?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue