[Koha-bugs] [Bug 17569] Move GetUpcomingMembershipExpires to Koha::Patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 15:53:14 CET 2016


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57267
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57267&action=edit
Bug 17569: Koha::Patrons - Move GetUpcomingMembershipExpires to
search_upcoming_membership_expires

This patchset moves the C4::Members::GetUpcomingMembershipExpires
subroutine code to the Koha::Patrons->search_upcoming_membership_expires
method.
This subroutine was used from only 1 place, so it's an easier to move.

Test plan:
Use the membership_expiry.pl cronjob script using the different
options.
The behavior should be the same as prior to this patch.

  prove t/db_dependent/Koha/Patrons.t
should return green

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


More information about the Koha-bugs mailing list