Bugzilla – Attachment 57529 Details for
Bug 17638
t/db_dependent/Search.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17638: Flush the config cache on setting a new context
Bug-17638-Flush-the-config-cache-on-setting-a-new-.patch (text/plain), 689 bytes, created by
Jonathan Druart
on 2016-11-16 09:26:48 UTC
(
hide
)
Description:
Bug 17638: Flush the config cache on setting a new context
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-11-16 09:26:48 UTC
Size:
689 bytes
patch
obsolete
>From cfe8a65e0697f59e1012f63660daf9e0594ced9c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 16 Nov 2016 09:25:41 +0000 >Subject: [PATCH] Bug 17638: Flush the config cache on setting a new context > >--- > C4/Context.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 15b898d..023aa4f 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -317,6 +317,7 @@ sub set_context > # Save the old context, if any, on the stack > push @context_stack, $context if defined($context); > >+ Koha::Caches->get_instance('config')->flush_all; > # Set the new context > $context = $new_context; > } >-- >2.1.4
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 17638
:
57529
|
57551
|
57552
|
57568
|
57575