diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-02 12:52:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-02 12:52:30 +0000 |
commit | 16e4d3b007585a1084455b09e9ad6d7048eb5c2a (patch) | |
tree | d770d106a55847df80a6bcf70293bb9c26f13a4e /perllib/FixMyStreet/App/Controller/Open311.pm | |
parent | 2db12c53190fb29666a5cf49514c0f0422ebbbfe (diff) |
Add do-not-reply config variable, removing special case from code.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Open311.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Open311.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Open311.pm b/perllib/FixMyStreet/App/Controller/Open311.pm index 040b0d3e6..3382c0cea 100644 --- a/perllib/FixMyStreet/App/Controller/Open311.pm +++ b/perllib/FixMyStreet/App/Controller/Open311.pm @@ -100,7 +100,7 @@ sub error : Private { sub get_discovery : Private { my ( $self, $c ) = @_; - my $contact_email = $c->config->{CONTACT_EMAIL}; + my $contact_email = $c->cobrand->contact_email; my $prod_url = 'http://www.fiksgatami.no/open311'; my $test_url = 'http://fiksgatami-dev.nuug.no/open311'; my $prod_changeset = '2011-04-08T00:00:00Z'; |