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 Cormack <chrisc@catalyst.net.nz>
Thu, 20 Oct 2011 01:09:58 +0000 (14:09 +1300)
commit769acee41ae258ea4efb0114eb7995736496a9cf
tree1abb9f6f37802147a07577674deec146b0dd09ba
parentfcd28a664acaa4aed52604a4150f752bbe118798
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>
C4/Circulation.pm