Bugzilla – Attachment 152853 Details for
Bug 33720
updatedatabase.pl should purge memcached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33720: Also flush in install
Bug-33720-Also-flush-in-install.patch (text/plain), 837 bytes, created by
Martin Renvoize (ashimema)
on 2023-06-29 08:21:02 UTC
(
hide
)
Description:
Bug 33720: Also flush in install
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-06-29 08:21:02 UTC
Size:
837 bytes
patch
obsolete
>From f2f0b1b10f4765b67eb0162073b5f82bab584be4 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 29 Jun 2023 09:19:59 +0100 >Subject: [PATCH] Bug 33720: Also flush in install > >--- > installer/install.pl | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/installer/install.pl b/installer/install.pl >index 87d2a9291b..8f53d212a2 100755 >--- a/installer/install.pl >+++ b/installer/install.pl >@@ -32,10 +32,15 @@ use C4::Installer; > use C4::Installer::PerlModules; > > use Koha; >+use Koha::Caches; > > my $query = CGI->new; > my $step = $query->param('step'); > >+# Flush memcached before we begin >+Koha::Caches->get_instance('config')->flush_all; >+Koha::Caches->get_instance('sysprefs')->flush_all; >+ > my $language = $query->param('language'); > my ( $template, $loggedinuser, $cookie ); > >-- >2.41.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 33720
:
151083
|
151881
|
152096
|
152852
|
152853
|
152857
|
152858