]> git.koha-community.org Git - koha.git/commit
Bug 7060: GetMemberDetails unnecessary in C4::Circulation
authorIan Walls <ian.walls@bywatersolutions.com>
Tue, 18 Oct 2011 23:55:22 +0000 (19:55 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 25 Oct 2011 23:41:32 +0000 (19:41 -0400)
commit422a82e0957bdd73af5e4816a6eb7cb54232ce14
tree3fb809d4616701314347059cd3df4f127d0a92e2
parent35987009bc95aa89a8947544abbecbe517348db0
Bug 7060: GetMemberDetails unnecessary in C4::Circulation

Replaces all instances of GetMemberDetails with the more efficient GetMember.  Since
no hash values other than the borrowers table's fields are used in this module, the
transition is safe.

To test:

1.  Checkout a material; the page should load without error
2.  Renew a material: the page should load without error
3.  Return a material: the page should load without error

The above test plan invokes all the subroutines affected by this patch; any call to an undefined
value in a hashref should give a warning

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 769acee41ae258ea4efb0114eb7995736496a9cf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Circulation.pm