From 118bff64be868df02b3a2363b3ad72cfcca0d8a6 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 27 Jul 2016 16:00:43 +0200 Subject: [PATCH] Bug 16769: [QA Follow-up] Remove unsupported deepcopy parameter Routine C4/Koha/GetAuthorisedValues adds deepcopy => 1 to the options of set_in_cache. This makes no sense (anymore?). Is not supported or passed further. So better remove it. Test plan: Run t/db_dependent/Koha.t (with Test::Deep available to minimize confusion) Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens Signed-off-by: Brendan Gallagher --- C4/Koha.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 0ff4851ec2..de4e6a4214 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -984,7 +984,7 @@ sub GetAuthorisedValues { } $sth->finish; - $cache->set_in_cache( $cache_key, \@results, { deepcopy => 1, expiry => 5 } ); + $cache->set_in_cache( $cache_key, \@results, { expiry => 5 } ); return \@results; } -- 2.39.5