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

--- Comment #4 from Paul Poulain <paul.poul...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to