Bug 17189: Use delete to flush a L1 cache namespace
Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> https://bugs.koha-community.org/show_bug.cgi?id=11921 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
f753220701
commit
55cdfd2da3
|
|
@ -403,7 +403,7 @@ sub flush_all {
|
|||
|
||||
sub flush_L1_cache {
|
||||
my( $self ) = @_;
|
||||
$L1_cache{$self->{namespace}} = ();
|
||||
delete $L1_cache{$self->{namespace}};
|
||||
}
|
||||
|
||||
=head1 TIED INTERFACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue