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:
parent
75a217e672
commit
118bff64be
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue