Bug 11975: (follow-up) simplify construction of params for GetBorrowersToExpunge()
authorGalen Charlton <gmc@esilibrary.com>
Thu, 8 May 2014 15:13:15 +0000 (15:13 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 9 May 2014 14:32:30 +0000 (14:32 +0000)
commit6973e3b7d50777a147a29f2f3d213a6175c9eb74
treea34945dad4075e87d8a650b4d33c96734b068a73
parent4e7e8a5544297aa6d02eb86b4a621e25a19e9e0b
Bug 11975: (follow-up) simplify construction of params for GetBorrowersToExpunge()

This patch consolidates the code for constructing the parameters for
GetBorrowersToExpunge() into a subroutine.  As a side-effect, this
fixes a regression introduced by the main patch where no patrons would
be deleted when filtering by expiration date.

To test:

[1] Follow the test plan in the main patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
tools/cleanborrowers.pl