aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2012-10-02 08:10:28 +1000
committerMatthew Landauer <matthew@openaustralia.org>2012-10-02 08:10:28 +1000
commite8bebdba1f9ffc9e3704cfe80745dd9f5b7bab3e (patch)
tree347938ee74ed56c0aed075a960b883b34cc339ae /app/models
parentbe96333dafd0fa0623ca4495237c8c6fa5457c14 (diff)
Use new Configuration for OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS
Diffstat (limited to 'app/models')
-rw-r--r--app/models/public_body.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index d212c371f..34bcd332c 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -511,7 +511,7 @@ class PublicBody < ActiveRecord::Base
# Returns nil if configuration variable not set
def override_request_email
- e = MySociety::Config.get("OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS", "")
+ e = Configuration::override_all_public_body_request_emails
e if e != ""
end