Koha-clms/reserve
Paul Poulain 54ce3fde2b Bug 7034: de-nesting C4/Branch.pm
use C4::Koha was loaded only to call C4::Koha::get_infos_of in get_branchinfos_of

the sub get_branchinfos_of was used nowhere
(checked with "grep -R get_branchinfos_of *")
only one reference was made to get_branchinfos_of, in reserve/request.pl, but the sub was not used in fact (maybe removed previously & silently)

This patch removes sub get_branchinfos_of and use C4::Koha in C4::Branch, as well as the reference in request.pl and the t test

The patch doesn't remove use C4::Branch in reserve/request.pl, as it's still used for other subroutines.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 69732f5c62)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-10-25 19:25:36 -04:00
..
modrequest.pl Fix FSF address in directory reserve/ 2010-03-16 20:17:54 -04:00
placerequest.pl bug 4816: require authentication for placerequest.pl 2010-05-25 23:30:51 -04:00
renewscript.pl Fix for Bug 4853 - Rights needed to renew a document 2011-03-06 08:26:35 +13:00
request.pl Bug 7034: de-nesting C4/Branch.pm 2011-10-25 19:25:36 -04:00