Bug 11484: Add option to cleanup_database.pl to purge Z39.50 search records from...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 6 Jan 2014 18:46:02 +0000 (13:46 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 17 Apr 2014 15:28:29 +0000 (15:28 +0000)
commitf796d1002a39cd714433a219b35eefbce31b02d8
tree2ff78b217aef01d2bb16d2c5d6b835c3be9b0cdf
parentde81d7abe43f3c2eed327b52e212bc790b406961
Bug 11484: Add option to cleanup_database.pl to purge Z39.50 search records from reservoir

It would be good to be able to specifically target import records from
Z39.50 for cleanup.

Test Plan:
1) Apply this patch
2) Import one or more batch record sets into Koha
3) Perform some Z39.50 searches
4) Run this command: misc/cronjobs/cleanup_database.pl -v --z3950
5) Verify that only Z39.50 records were deleted

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
misc/cronjobs/cleanup_database.pl