[Koha-bugs] [Bug 6875] de-nesting C4 packages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 21 17:21:31 CEST 2011


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

--- Comment #4 from Paul Poulain <paul.poulain at biblibre.com> 2011-09-21 15:21:31 UTC ---
Created attachment 5497
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5497
Bug 6875 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 don't remove use C4::Branch in reserve/request.pl, it must be checked
that it's useless first

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list