diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-11-20 21:37:17 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-12-02 17:41:42 +0000 |
commit | 23949e52f20020fa56cd54655a487ef97ebbc222 (patch) | |
tree | fd8a58a3b6df905851ecbed5d83919d7d9d88ed1 /bin/send-alerts | |
parent | d48de55d99bd55b28c5aa0fd9f095e9c918b52cb (diff) |
Remove many uses of mySociety::Config.
Diffstat (limited to 'bin/send-alerts')
-rwxr-xr-x | bin/send-alerts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-alerts b/bin/send-alerts index b0040268a..eaebe9b66 100755 --- a/bin/send-alerts +++ b/bin/send-alerts @@ -20,10 +20,10 @@ BEGIN { use CGI; # XXX use CronFns; -use mySociety::Config; +use FixMyStreet; use FixMyStreet::DB; -my $site = CronFns::site(mySociety::Config::get('BASE_URL')); +my $site = CronFns::site(FixMyStreet->config('BASE_URL')); CronFns::language($site); FixMyStreet::DB->resultset('AlertType')->email_alerts(); |