From a78753367dca1d6814c6dfc100aa286769c14ffc 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 Signed-off-by: Pedro Amorim Signed-off-by: Katrin Fischer --- 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 2fd9eb5251..3c0356389e 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.39.5