From 12c846583dbfd7e30b528b2f3a07b616b210806f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 15 Mar 2024 14:19:36 -0400 Subject: [PATCH] Bug 36206: (QA follow-up) Tidy admin-home.pl Signed-off-by: Kyle M Hall --- admin/admin-home.pl | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/admin/admin-home.pl b/admin/admin-home.pl index 95338b0bf5b..40e3e4e2af3 100755 --- a/admin/admin-home.pl +++ b/admin/admin-home.pl @@ -24,24 +24,26 @@ use Koha::Plugins; my $query = CGI->new; -my $mana_url = C4::Context->config('mana_config'); +my $mana_url = C4::Context->config('mana_config'); my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "admin/admin-home.tt", - query => $query, - type => "intranet", - flagsrequired => { parameters => '*' }, + template_name => "admin/admin-home.tt", + query => $query, + type => "intranet", + flagsrequired => { parameters => '*' }, } ); if ( C4::Context->config('enable_plugins') ) { - my @admin_plugins = Koha::Plugins->new()->GetPlugins({ - method => 'admin', - }); + my @admin_plugins = Koha::Plugins->new()->GetPlugins( + { + method => 'admin', + } + ); $template->param( admin_plugins => \@admin_plugins ); } -$template->param( mana_url => $mana_url, ); +$template->param( mana_url => $mana_url, ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.30.2