26 Oct
2022
26 Oct
'22
2:40 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31969 --- Comment #8 from Björn Nylén <bjorn.nylen@ub.lu.se> --- (In reply to Frédéric Demians from comment #6)
Thanks Björn for your patch. Have you considered putting the code of your PurgeBackgroundJobs function into Koha::BackgroundJobs as a class method? This could be used from elsewhere, the WUI for example, and from cleanup_database.pl like that:
Koha::BackgroundJobs::purge(10, 'all', 1);
Might be an idea. Easy to do but writing the needed tests is a bit of a pain ( for me at least :) ). -- You are receiving this mail because: You are watching all bug changes.