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:
Jonathan Druart 2016-09-07 11:43:32 +01:00 committed by Kyle M Hall
parent f753220701
commit 55cdfd2da3
1 changed files with 1 additions and 1 deletions

View File

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