Bugzilla – Attachment 51026 Details for
Bug 16140
Only clear L1 cache when needed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16140: ->flush_if_needed should be called on an instanciate Koha::Cache object
Bug-16140--flushifneeded-should-be-called-on-an-in.patch (text/plain), 803 bytes, created by
Jesse Weaver
on 2016-04-29 17:15:26 UTC
(
hide
)
Description:
Bug 16140: ->flush_if_needed should be called on an instanciate Koha::Cache object
Filename:
MIME Type:
Creator:
Jesse Weaver
Created:
2016-04-29 17:15:26 UTC
Size:
803 bytes
patch
obsolete
>From 706ac08fe07031cd0d6f3301af6541d4448ac25a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 25 Mar 2016 13:06:07 +0000 >Subject: [PATCH] Bug 16140: ->flush_if_needed should be called on an > instanciate Koha::Cache object > >--- > misc/plack/koha.psgi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi >index 845e47e..05f92ec 100644 >--- a/misc/plack/koha.psgi >+++ b/misc/plack/koha.psgi >@@ -12,7 +12,7 @@ use CGI qw(-utf8 ); # we will lose -utf8 under plack > *CGI::new = sub { > my $q = $old_new->( @_ ); > $CGI::PARAM_UTF8 = 1; >- Koha::Cache->flush_L1_if_needed(); >+ Koha::Cache->get_instance->flush_L1_if_needed(); > return $q; > }; > } >-- >2.8.0.rc3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16140
:
49487
|
49488
|
49589
|
49590
|
51024
|
51025
| 51026