[Koha-bugs] [Bug 15563] Add option to regularly delete patroncard and label batches to cleanup_database.pl cronjob

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 27 15:09:07 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15563

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #120082|0                           |1
        is obsolete|                            |

--- Comment #33 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 120221
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120221&action=edit
Bug 15563: (follow-up) Combine methods, add count, obey confirm

This patch moves the SQL to a subroutine and uses the Label delete method to
remove the batches

We now return a count and do not delete if --confirm flag is not passed

Repeate previous test plan, confirm works as expected

JD amended patch: perltidy

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list