projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f753220
)
Bug 17189: Use delete to flush a L1 cache namespace
author
Jonathan Druart
<jonathan.druart@bugs.koha-community.org>
Wed, 7 Sep 2016 10:43:32 +0000
(11:43 +0100)
committer
Kyle M Hall
<kyle@bywatersolutions.com>
Thu, 8 Sep 2016 10:24:46 +0000
(10:24 +0000)
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>
Koha/Cache.pm
patch
|
blob
|
history
diff --git
a/Koha/Cache.pm
b/Koha/Cache.pm
index
598c35b
..
ea2ebcb
100644
(file)
--- 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