diff options
author | Go MAEDA <maeda@farend.jp> | 2021-04-01 14:41:03 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-04-01 14:41:03 +0000 |
commit | ba6ace46d755fa5f26fe590d9e086bb762df4652 (patch) | |
tree | 517efa860ed2a73f80dc168794f2c34f03147fb0 /config | |
parent | 5d9458726f7977be5cbdac4e416bc2393271956e (diff) | |
download | redmine-ba6ace46d755fa5f26fe590d9e086bb762df4652.tar.gz redmine-ba6ace46d755fa5f26fe590d9e086bb762df4652.zip |
Fix sending mail with DeliveryJob is deprecated (#29914, #32908).
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20882 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 29127891b..89d4fc1ca 100644 --- a/config/application.rb +++ b/config/application.rb @@ -33,6 +33,8 @@ module RedmineApp config.active_record.store_full_sti_class = true config.active_record.default_timezone = :local + config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob" + # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' |