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>
This commit is contained in:
Martin Renvoize 2023-06-29 09:19:59 +01:00 committed by Tomas Cohen Arazi
parent 4391e23ea5
commit 41c43449c6
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

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