From da2083288ef145e022b4fa28acb71aa718f6e6b7 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Mon, 9 Oct 2023 03:54:00 +0200 Subject: [PATCH] Bug 25672: (QA follow-up): tidy up code Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- plugins/plugins-home.pl | 2 +- plugins/plugins-uninstall.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/plugins-home.pl b/plugins/plugins-home.pl index 95dd79231a..08d005f1cf 100755 --- a/plugins/plugins-home.pl +++ b/plugins/plugins-home.pl @@ -58,7 +58,7 @@ if ($plugins_enabled) { } ); - $template->param( plugins => \@plugins, ); + $template->param( plugins => \@plugins, ); $template->param( plugins_restricted => C4::Context->config('plugins_restricted') ); $template->param( can_search => C4::Context->config('plugin_repos') ? 1 : 0 ); diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl index c797af16c3..76385647b8 100755 --- a/plugins/plugins-uninstall.pl +++ b/plugins/plugins-uninstall.pl @@ -40,7 +40,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $class = $input->param('class'); -if ( $class ) { +if ($class) { Koha::Plugins::Handler->delete( { class => $class } ); } -- 2.39.5