diff options
Diffstat (limited to 'config/initializers/alaveteli.rb')
-rw-r--r-- | config/initializers/alaveteli.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/initializers/alaveteli.rb b/config/initializers/alaveteli.rb index 349934ef4..c9eb3715a 100644 --- a/config/initializers/alaveteli.rb +++ b/config/initializers/alaveteli.rb @@ -82,7 +82,9 @@ require 'quiet_opener.rb' require 'mail_handler' require 'public_body_categories' -if !Configuration.exception_notifications_from.blank? && !Configuration.exception_notifications_to.blank? - ExceptionNotification::Notifier.sender_address = Configuration::exception_notifications_from - ExceptionNotification::Notifier.exception_recipients = Configuration::exception_notifications_to -end +# Temporarily commented out the lines below on the Rails 3 spike. +# TODO: Reinstate this properly! +#if !Configuration.exception_notifications_from.blank? && !Configuration.exception_notifications_to.blank? +# ExceptionNotification::Notifier.sender_address = Configuration::exception_notifications_from +# ExceptionNotification::Notifier.exception_recipients = Configuration::exception_notifications_to +#end |