aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-25 11:30:55 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-25 11:30:55 +1100
commite1d21dbee78a8199a80d97f67508fa44cfc292e6 (patch)
treef7356f58f57a2059db029253f5690c9b9ee7684e
parent8ab884f0da68b17f33577a197ebd0e7d412a28ed (diff)
Temporarily commented out some ExceptionNotification setup code that was causing problems in the test
-rw-r--r--config/initializers/alaveteli.rb10
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