docbrown/lib/data_update_scripts/20201210163704_set_contact_email_address.rb
Ridhwana c8e56853b7
Updates the email_addresses hash with the contact info (#11967)
* feat: add a new script that updates the email_addresses hash with the contact key

* add a comment to old data script

* feat: add a spec (not passing as yet)

* fix: test passing

* chore: comment script with reason
2020-12-18 18:07:48 +02:00

12 lines
409 B
Ruby

module DataUpdateScripts
class SetContactEmailAddress
def run
# This script does not work as expected.
# It does not create and update the contact email.
# 20201218080343_update_default_email_addresses is a replacement.
# return if SiteConfig.email_addresses[:contact].present?
# SiteConfig.email_addresses[:contact] = ApplicationConfig["DEFAULT_EMAIL"]
end
end
end