diff options
author | matthew <matthew> | 2008-11-18 17:29:50 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-11-18 17:29:50 +0000 |
commit | d85c4e8188e52b9f17fb41924693e74db5a7f7da (patch) | |
tree | ae96db416712ae204c64e390701273d8865509e0 /bin | |
parent | 1ae1ad81dbeb654891d3c28c005e94e71f144869 (diff) |
Tweaks.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/send-questionnaires | 4 | ||||
-rwxr-xr-x | bin/send-reports | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/send-questionnaires b/bin/send-questionnaires index ebd1be8fc..0e3d3c01f 100755 --- a/bin/send-questionnaires +++ b/bin/send-questionnaires @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: send-questionnaires,v 1.8 2008-10-07 16:44:09 matthew Exp $ +# $Id: send-questionnaires,v 1.9 2008-11-18 17:29:50 matthew Exp $ use strict; require 5.8.0; @@ -83,7 +83,7 @@ foreach my $row (@$unsent) { _template_ => $template, _parameters_ => \%h, To => [ [ $row->{email}, $row->{name} ] ], - From => [ $sender, 'FixMyStreet' ], + From => [ $sender, mySociety::Config::get('CONTACT_NAME') ], 'Message-ID' => sprintf('<ques-%s-%s@mysociety.org>', time(), unpack('h*', random_bytes(5, 1))), }); diff --git a/bin/send-reports b/bin/send-reports index facd6e28d..3842bae3b 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: send-reports,v 1.61 2008-11-17 17:52:16 matthew Exp $ +# $Id: send-reports,v 1.62 2008-11-18 17:29:50 matthew Exp $ use strict; require 5.8.0; @@ -48,7 +48,7 @@ $verbose = 1 if $nomail; my $base_url = mySociety::Config::get('BASE_URL'); my $site = 'fixmystreet'; -$site = 'emptyhomes' if $base_url =~ 'emptyhomes'; # || $base_url eq 'http://matthew.fixmystreet.com'; # XXX +$site = 'emptyhomes' if $base_url =~ 'emptyhomes'; my $query = "SELECT id, council, category, title, detail, name, email, phone, used_map, easting, northing, (photo is not null) as has_photo |