[Koha-bugs] [Bug 10900] Incorrect calling conventions accessing C4::Context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 02:41:28 CEST 2013


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srdjan at catalyst.net.nz

--- Comment #12 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
I'm not sure this is correct. C4::Context is not an object, hence has no
methods. I believe :: is more appropriate under the circumstances. Although we
may agree to call C4::Context subs using ->, but that would be just a waste of
the first argument.

Context *should* be an object, I agree, but unfortunately it is not. Is this
being addressed in Koha:: namespace?

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


More information about the Koha-bugs mailing list