From a5480957e1741e9d1885772a79427170df3e4498 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 2 May 2016 12:10:06 +0200 Subject: [PATCH] Revert "Bug 16104: Remove warnings "used only once: possible typo"" This reverts commit dce531d3d63242868edc8dd9f5332d810b0cdda4. --- Koha/Cache.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Cache.pm b/Koha/Cache.pm index e352624d82..9856e80b83 100644 --- a/Koha/Cache.pm +++ b/Koha/Cache.pm @@ -100,7 +100,7 @@ sub new { } } - if ( can_load( modules => { 'Cache::Memory' => undef, nocache => 1 } ) ) { + if ( can_load( modules => { 'Cache::Memory' => undef } ) ) { _initialize_memory($self); if ( $self->{'default_type'} eq 'memory' && defined( $self->{'memory_cache'} ) ) -- 2.39.5