]> git.koha-community.org Git - koha.git/commit
Bug 29076: Fetch the zebraqueue entries when not confirm
authorNick Clemens <nick@bywatersolutions.com>
Wed, 22 Sep 2021 12:02:43 +0000 (12:02 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 28 Sep 2021 13:12:44 +0000 (15:12 +0200)
commitc08fd3e9872d16eb86abcb6035dd2d86b0047041
treed27042b7e00b05179cd245248b668f2a78a7f565
parentaa4d179256303eb61e5934b1b6e3e70e489c44e1
Bug 29076: Fetch the zebraqueue entries when not confirm

This patch remove a check for confirm when fetching the entries
for possible deletion from the zebraqueue

Without this we die when we try to access the entries for counting

To test:
1 - perl  misc/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites --z3950 --logs 180 --mail 375 -v
2 - Dies
3 - Apply patch
4 - Repeat 1
5 - Success!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/cronjobs/cleanup_database.pl