From 4cc6c16d3da9d93e4f7af0f8760e6461e8fc3db1 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 --- about.pl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/about.pl b/about.pl index d533e1e30e..4a02a74b2b 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.30.2