]> git.koha-community.org Git - koha.git/commit
Bug 14402: Add option --fees to /misc/cronjobs/cleanup_database.pl
authorBarton Chittenden <barton@bywatersolutions.com>
Sat, 18 Jul 2015 20:29:29 +0000 (13:29 -0700)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Nov 2015 17:56:52 +0000 (14:56 -0300)
commit9f6ac9be117013087fbe1d79879e4e60c66a1ad8
treed2e1dd72a262e2ba5af619e20f529e3f3953b7b3
parent85431368bef418a65d29916ebde4ea846df83a99
Bug 14402: Add option --fees to /misc/cronjobs/cleanup_database.pl

This will call C4::Accounts::purge_zero_balance_fees to remove all rows
from accountlines which have 0 balance, and are more than DAYS old.

Test plan:

  Run: t/db_dependent/Accounts.t

If all unit tests pass, the --fees option to /misc/cronjobs/cleanup_database.pl
should act as documented, because it is a straight pass-through to
C4::Accounts::purge_zero_balance_fees().

http://bugs.koha-community.org/show_bug.cgi?id=14402

Signed-off-by: Nancy Keener <nkeener@washoecounty.us>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/cleanup_database.pl