Bug 20457: Overdue and pre-overdue cronjobs not skipping phone notices
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 25 Mar 2019 18:03:16 +0000 (14:03 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Oct 2022 17:13:18 +0000 (14:13 -0300)
commitbf6bbc29a0c84581a59624b070cb5747f195ea43
tree03f04585eef6dd198272695de9d9b3e5b5141413
parente024b6fb5282f057aca3e901162fced3715e7724
Bug 20457: Overdue and pre-overdue cronjobs not skipping phone notices

The overdue and pre-overdue cron scripts are not skipping the generation of phone notices. This causes many phone notices to be created that will always be left at 'pending' as the Talking Tech outbound script creates its own phone notices and puts them in the message queue.

Test Plan:
1) Enable Talking Tech
2) Enable predue and overdue notice phone transports for a patron
3) Generate overdues and predues, notice phone notices are generated
4) Apply the patch
5) Repeat steps 2-3
6) Note phone notices are not generated

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/advance_notices.pl
misc/cronjobs/overdue_notices.pl