aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/EmailSend.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-02 12:52:26 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-02 12:52:30 +0000
commit16e4d3b007585a1084455b09e9ad6d7048eb5c2a (patch)
treed770d106a55847df80a6bcf70293bb9c26f13a4e /perllib/FixMyStreet/EmailSend.pm
parent2db12c53190fb29666a5cf49514c0f0422ebbbfe (diff)
Add do-not-reply config variable, removing special case from code.
Diffstat (limited to 'perllib/FixMyStreet/EmailSend.pm')
-rw-r--r--perllib/FixMyStreet/EmailSend.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/EmailSend.pm b/perllib/FixMyStreet/EmailSend.pm
index 61d8a70c2..8b6eed462 100644
--- a/perllib/FixMyStreet/EmailSend.pm
+++ b/perllib/FixMyStreet/EmailSend.pm
@@ -2,10 +2,7 @@ package FixMyStreet::EmailSend;
use base Email::Send::SMTP;
sub get_env_sender {
- # Should really use cobrand's contact_email function, but not sure how
- # best to access that from in here.
- my $sender = FixMyStreet->config('CONTACT_EMAIL');
- $sender =~ s/team/fms-DO-NOT-REPLY/;
+ my $sender = FixMyStreet->config('DO_NOT_REPLY_EMAIL');
return $sender;
}