From 30973197682a38caf54392fd780529fb916de542 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 14 Jun 2012 11:24:27 -0400 Subject: [PATCH] Bug 8092 follow-up: Fix perlcritic violations Apparently you are not supposed to use "return undef;" or perlcritic gets mad. Sorry, perlcritic! --- Koha/Cache/Fastmmap.pm | 2 +- Koha/Cache/Memory.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Cache/Fastmmap.pm b/Koha/Cache/Fastmmap.pm index bad19f543c..c5838f0753 100644 --- a/Koha/Cache/Fastmmap.pm +++ b/Koha/Cache/Fastmmap.pm @@ -35,7 +35,7 @@ sub _cache_handle { cache_size => $params->{'cachesize'} || '1m', ); } else { - return undef; + return; } } diff --git a/Koha/Cache/Memory.pm b/Koha/Cache/Memory.pm index da09765507..1ed1096b2c 100644 --- a/Koha/Cache/Memory.pm +++ b/Koha/Cache/Memory.pm @@ -36,7 +36,7 @@ sub _cache_handle { global => 1, ); } else { - return undef; + return; } } -- 2.39.5