mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Clean up
This commit is contained in:
parent
6eddbb81ad
commit
e568369e36
2 changed files with 7 additions and 4 deletions
|
@ -155,7 +155,7 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
end
|
||||
|
||||
def notify_parties(reason)
|
||||
ent = notification_template if reason == 'ENTITY_BURIED'
|
||||
ent = notification_template if %w[ENTITY_BURIED EMAIL].include? reason
|
||||
ent ||= reason.downcase
|
||||
self.template_name = ent
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue