From 81b0c3bd4cb3aa48f7507a6be01fbf9fac8a3f8e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Sat, 9 Mar 2024 09:10:03 -0300 Subject: [PATCH] Bug 19605: Tidy Signed-off-by: Tomas Cohen Arazi --- Koha/Illrequest/Config.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Koha/Illrequest/Config.pm b/Koha/Illrequest/Config.pm index 2fd9eb5251c..3c0356389e6 100644 --- a/Koha/Illrequest/Config.pm +++ b/Koha/Illrequest/Config.pm @@ -144,14 +144,14 @@ sub available_backends { # Old way of loading backends: Through backend_dir config my $backend_dir = $self->backend_dir; - my @backends = (); - @backends = glob "$backend_dir/*" if ( $backend_dir ); - @backends = map { basename($_) } @backends; + my @backends = (); + @backends = glob "$backend_dir/*" if ($backend_dir); + @backends = map { basename($_) } @backends; @backends = grep { $_ =~ /$reduce/ } @backends if $reduce; # Return unique list of backend names in the event that the same backend is # installed as a plugin AND as the old way through backend_dir - my @all_backends = ( @backends, @backend_plugins_names ); + my @all_backends = ( @backends, @backend_plugins_names ); my @all_uniq_backends = uniq(@all_backends); return \@all_uniq_backends; -- 2.44.0