Comment future implementations

This commit is contained in:
Karl Erik Õunapuu 2020-11-13 15:41:21 +02:00
parent 7bf31995d3
commit 61886f436b
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -154,9 +154,11 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
Time.zone.today + Setting.expire_warning_period.days + Setting.redemption_grace_period.days Time.zone.today + Setting.expire_warning_period.days + Setting.redemption_grace_period.days
end end
def notify_parties(reason) # Uncomment when we have template for phone / email as well
ent = notification_template if %w[ENTITY_BURIED EMAIL].include? reason def notify_parties(_reason)
ent ||= reason.downcase ent = notification_template
# if %w[ENTITY_BURIED EMAIL].include? reason
# ent ||= reason.downcase
self.template_name = ent self.template_name = ent
save(validate: false) save(validate: false)