Bug 33720: Also flush in install

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 41c43449c6)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 1961490c2e)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2023-06-29 09:19:59 +01:00 committed by Matt Blenkinsop
parent 08d0727020
commit fc6d2d4dd7

View file

@ -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 );