Disable dashboard email deliveries

We have to doble check all emails deliveries from the dashboard.

Using a setting to skip all dashboard email deliveries for now.

Note that a rake task to activated the `Setting["dashboard.emails"]` will need to be addded when we want to activate deliveries of these emails.
This commit is contained in:
voodoorai2000
2019-04-23 14:34:33 +02:00
committed by decabeza
parent 6f3b213612
commit e139057001
4 changed files with 89 additions and 1 deletions

View File

@@ -139,5 +139,8 @@ Setting["proposals.email_description"] = nil
Setting["proposals.poster_short_title"] = nil
Setting["proposals.poster_description"] = nil
# Dashboard
Setting["dashboard.emails"] = nil
# Default custom pages
load Rails.root.join("db", "pages.rb")