diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 12:34:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 12:34:16 +0100 |
commit | eda7a2d88e13a89e22843203cf4f749c8679b4d7 (patch) | |
tree | 682568bc6f46d262e5755268ac65238af4562b52 /bin/zurich | |
parent | b862ad1300116978f98eae9a079a22d49fc4f85e (diff) | |
parent | df1494f5a9de03c80764adf6108cbf699f547459 (diff) |
Merge branch '1244-corps-translatable-body-names'
Diffstat (limited to 'bin/zurich')
-rwxr-xr-x | bin/zurich/overdue-alert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/zurich/overdue-alert b/bin/zurich/overdue-alert index 90e31df1c..f4fd0f4b7 100755 --- a/bin/zurich/overdue-alert +++ b/bin/zurich/overdue-alert @@ -38,7 +38,7 @@ loop_through( 'alert-overdue.txt', 0, 6, ['confirmed', 'planned'] ); sub loop_through { my ( $template, $include_parent, $days, $states ) = @_; - my $dtf = FixMyStreet::DB->storage->datetime_parser; + my $dtf = FixMyStreet::DB->schema->storage->datetime_parser; my $date_threshold = $dtf->format_datetime(FixMyStreet::Cobrand::Zurich::sub_days( $now, $days )); my $reports = FixMyStreet::DB->resultset("Problem")->search( { @@ -78,7 +78,7 @@ sub send_alert { } FixMyStreet::Email::send_cron( - FixMyStreet::DB->storage->schema, + FixMyStreet::DB->schema, $template, $h, { |