]> git.koha-community.org Git - koha.git/commit
Bug 15629: Koha::Libraries - Remove GetBranchInfo
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 20 Jan 2016 13:22:48 +0000 (13:22 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 03:55:07 +0000 (03:55 +0000)
commitd564d3732d95455b4626dfa8ca711cd658003c17
treeb5ea7357fff18948555720db3b62d58d4ba96ac5
parenta007178b873cc84171549f7a93c63a391a1740ca
Bug 15629: Koha::Libraries - Remove GetBranchInfo

C4::Branch::GetBranchInfo was only used once in opac/opac-suggestions.pl
The occurrence can easily be replaced by a call to Koha::Libraries->find

Test plan:
1/ Create a suggestion for library A
2/ Enable OPACViewOthersSuggestions
3/ Use a patron from library B to see the suggestions
4/ The "Suggested for" value should be correctly filled with the library
A name.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
C4/Branch.pm
opac/opac-suggestions.pl
t/db_dependent/Branch.t