diff options
author | matthew <matthew> | 2009-07-13 17:56:36 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-07-13 17:56:36 +0000 |
commit | 850e141f7d75ca306b425ec04ae11f6a56b235db (patch) | |
tree | f73ecfb1dde799c9060b4a2069b0babd80ec6f43 | |
parent | ba7d5f2b3dffca77491cde95b867c02b150a302d (diff) |
Some typos, add CGI inclusion because of '_' issue.
-rwxr-xr-x | bin/send-alerts | 6 | ||||
-rwxr-xr-x | bin/send-questionnaires-eha | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/bin/send-alerts b/bin/send-alerts index f282efaaf..0b14eadaf 100755 --- a/bin/send-alerts +++ b/bin/send-alerts @@ -6,11 +6,13 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: send-alerts,v 1.3 2009-07-10 15:17:28 matthew Exp $ +# $Id: send-alerts,v 1.4 2009-07-13 17:56:36 matthew Exp $ use strict; require 5.8.0; +use CGI; # XXX + # Horrible boilerplate to set up appropriate library paths. use FindBin; use lib "$FindBin::Bin/../perllib"; @@ -32,7 +34,7 @@ BEGIN { ); } -my $site = CronFns::site(mySociey::Config::get('BASE_URL')); +my $site = CronFns::site(mySociety::Config::get('BASE_URL')); CronFns::language($site); mySociety::Alert::email_alerts(); diff --git a/bin/send-questionnaires-eha b/bin/send-questionnaires-eha index 055db39f7..a11dcd1ab 100755 --- a/bin/send-questionnaires-eha +++ b/bin/send-questionnaires-eha @@ -6,11 +6,13 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: send-questionnaires-eha,v 1.3 2009-07-10 15:17:28 matthew Exp $ +# $Id: send-questionnaires-eha,v 1.4 2009-07-13 17:56:36 matthew Exp $ use strict; require 5.8.0; +use CGI; # XXX + # Horrible boilerplate to set up appropriate library paths. use FindBin; use lib "$FindBin::Bin/../perllib"; @@ -40,7 +42,7 @@ BEGIN { # Set up site, language etc. my ($verbose, $nomail) = CronFns::options(); -my $site = CronFns::site(mySociety::Config::get('BASE_URL')) +my $site = CronFns::site(mySociety::Config::get('BASE_URL')); CronFns::language($site); send_q('4 weeks'); |