Bugzilla – Attachment 49589 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), 799 bytes, created by
Jonathan Druart
on 2016-03-25 13:27:47 UTC
(
hide
)
Description:
Bug 16140: ->flush_if_needed should be called on an instanciate Koha::Cache object
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-25 13:27:47 UTC
Size:
799 bytes
patch
obsolete
>From 24b758b38c5281eaed6d31c35ebe93cea0e08c8a 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.7.0
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