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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 14 Dec 2022 12:06:13 +0000 (13:06 +0100)
commit9b2f271f189efe01906ee6b644c22ee72225d4ab
tree8095d0b1b1eb187d68e9c34a502c1ecfb02079ca
parentab4454414714f44117dab52e13b650c41854b141
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>
(cherry picked from commit bf6bbc29a0c84581a59624b070cb5747f195ea43)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 2a14f470f7af0b5b2a3acea2a52cf744e3f0df5d)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
misc/cronjobs/advance_notices.pl
misc/cronjobs/overdue_notices.pl