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

--- Comment #1 from Olli-Antti Kivilahti <[email protected]> ---
Created attachment 32507
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32507&action=edit
Bug 13106 - Encapsulate Circulation::GetAgeRestriction() and modify it to check
borrowers age as well.

This patch moves the logic of deciding whether or not a borrower is old enough
to access this material
to its own function GetAgeRestriction.

This makes it easier to use AgeRestriction elsewhere, like with placing holds.

Unit tests included.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to