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 <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2016-07-27 16:00:43 +02:00 committed by Brendan Gallagher
parent 75a217e672
commit 118bff64be
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}