[Koha-bugs] [Bug 9006] autoload in C4::Context is a bad idea

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 19 18:44:55 CEST 2015


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

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
I re-ran my commands in comment #2

$ grep "^sub " C4/Context.pm | cut -f2 -d' ' > ~/subs
$ vi ~/subs
:%s/^/C4::Context->/g
:wq
$ git grep 'C4::Context\->' | grep -v -f ~/subs

Yes, intranetdir, but also:
1 perldoc line IsSuperlibrarian typo (see also bug 14425)
something ugly in C4/Input.pm (patch to come on this bug)
typo in 3.07.00.030 updatedatabase.pl upgrade (see also bug 14422)

But I discovered that bug 13876 introduced C4::Context->KOHAVERSION.
I think it should 'use Koha;' and then be 'Koha::version';
Also, this likely should be a patch on this bug.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list