[Koha-bugs] [Bug 16104] Warnings "used only once: possible typo" should be removed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 25 17:23:41 CEST 2016


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

--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Jacek Ablewicz from comment #8)
> This
> 
>    if ( can_load( modules => { 'Cache::Memory' => undef, nocache => 1 } ) ) {
> 
> is not a right syntax for 'noncache' parameter.. If called that way,
> can_load() tries to load Cache::Memory and (nonexisting) 'nocache' module
> (version >= 1.0), and fails - so it simply prevents Cache::Memory loading
> (hence no more warnings). This has and enormous impact on performance in all
> setups which do not use memcached as a caching system; after that,
> memchached is the only caching system still working in Koha.

Erk! You are right, I misread the doc :-/

@RM please revert this patch

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


More information about the Koha-bugs mailing list