https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37682

--- Comment #6 from David Cook <[email protected]> ---
(In reply to Julian Maurice from comment #5)
> Note that Koha::Script uses C4::Context, so C4::Context::import is executed
> twice (once with require Koha::Script, once with C4::Context->import)
> Koha::Logger::import is also "called" twice (it doesn't exist so it doesn't
> matter much IMO)

In my testing, "use Koha::Script" followed by "use C4::Context" calls
C4::Context->import" twice as well, so same same. 

I haven't investigated Koha::Logger but better safe than sorry. Again, "use
Koha::Logger" does the same thing. 

> And you might want to get rid of C4::Log which does not appear to be useful
> here.

I'm just doing a like for like so far. Happy for someone to do a follow up.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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