diff --git a/Koha/Cache.pm b/Koha/Cache.pm index 598c35be39..ea2ebcb529 100644 --- a/Koha/Cache.pm +++ b/Koha/Cache.pm @@ -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