]> git.koha-community.org Git - koha.git/commit
Bug 15240: Do not process issues with a date due later than today
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Dec 2015 11:10:33 +0000 (11:10 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 28 Jan 2016 19:15:34 +0000 (19:15 +0000)
commit0d36c27678a6968304990759657e2312338763eb
treee8cfbcf571ede1b1136f9bfc68b36be9078135f9
parent1a343093e9c21e534c0baa3ee9d7b801f42399f9
 Bug 15240: Do not process issues with a date due later than today

There is no need to do this job in Perl, MySQL could do it instead.
The idea is to only retrieve the issues info which could be overdued.

To test:
1/ Run the script
2/ Apply the patch
3/ Run the script again, notice the exact same results but execution time is faster

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
misc/cronjobs/overdue_notices.pl