From fc6d2d4dd7c370c94d13457e751212e81edc22ad Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 29 Jun 2023 09:19:59 +0100 Subject: [PATCH] Bug 33720: Also flush in install Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 41c43449c6c2e2e926ed04cc06647d223a5864dd) Signed-off-by: Martin Renvoize (cherry picked from commit 1961490c2e677d1e8f5fdf2b9344b0264abc1587) Signed-off-by: Matt Blenkinsop --- 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.20.1