[Koha-bugs] [Bug 16911] New: Koha::Patrons - Move ExtendMemberSubscriptionTo to -> extend_subscription
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 20:40:12 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16911
Bug ID: 16911
Summary: Koha::Patrons - Move ExtendMemberSubscriptionTo to
->extend_subscription
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
The goal of these patches will be to move the 2 subroutines GetExpiryDate and
ExtendMemberSubscriptionTo to the 2 methods of
Koha::Patron::Category->get_expiry_date and Koha::Patron->get_expiry_date
This way, we will have a nice code like
my $patron = Koha::Patrons->find( 42 );
$patron->move_to_deleted; # From bug 16907
$patron->delete; # Which will handle the different deletion to do before
deleting a patron
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list