From 6fd01a65992c0fd6c0398ede56212236e1ebf84d Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 15 Feb 2024 13:32:33 -0100 Subject: [PATCH] Bug 32693: Preparation: About script: Move template params These template params are only used in the default first 'about' tab but were being added further down in the script Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- about.pl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/about.pl b/about.pl index d97347defb..9254bbfd75 100755 --- a/about.pl +++ b/about.pl @@ -172,6 +172,14 @@ $template->param( memcached_namespace => $memcached_namespace, is_memcached_still_active => $is_memcached_still_active, where_is_memcached_config => $where_is_memcached_config, + perlPath => $perl_path, + zebraVersion => $zebraVersion, + kohaVersion => $versions{'kohaVersion'}, + osVersion => $versions{'osVersion'}, + perlVersion => $versions{'perlVersion'}, + perlIncPath => [ map { perlinc => $_ }, @INC ], + mysqlVersion => $versions{'mysqlVersion'}, + apacheVersion => $versions{'apacheVersion'}, memcached_running => Koha::Caches->get_instance->memcached_cache, ); @@ -667,14 +675,6 @@ $template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs; my %versions = C4::Context::get_versions(); $template->param( - kohaVersion => $versions{'kohaVersion'}, - osVersion => $versions{'osVersion'}, - perlPath => $perl_path, - perlVersion => $versions{'perlVersion'}, - perlIncPath => [ map { perlinc => $_ }, @INC ], - mysqlVersion => $versions{'mysqlVersion'}, - apacheVersion => $versions{'apacheVersion'}, - zebraVersion => $zebraVersion, prefRequireChoosingExistingAuthority => $prefRequireChoosingExistingAuthority, prefAutoCreateAuthorities => $prefAutoCreateAuthorities, warnPrefRequireChoosingExistingAuthority => $warnPrefRequireChoosingExistingAuthority, -- 2.39.5