Bugzilla – Attachment 164087 Details for
Bug 19605
ILL backends should be pluggable through regular Koha plugins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19605: Tidy
Bug-19605-Tidy.patch (text/plain), 1.40 KB, created by
Pedro Amorim
on 2024-03-28 16:57:26 UTC
(
hide
)
Description:
Bug 19605: Tidy
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-03-28 16:57:26 UTC
Size:
1.40 KB
patch
obsolete
>From fbab8a88e7993529137e163581c650bf5cc2a6fe Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Sat, 9 Mar 2024 09:10:03 -0300 >Subject: [PATCH] Bug 19605: Tidy > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > 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.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19605
:
158068
|
158069
|
158070
|
160433
|
160434
|
160435
|
162996
|
162997
|
162998
|
162999
|
163000
|
163001
|
163002
|
163003
|
163004
|
163005
|
163006
|
163007
|
163846
|
164084
|
164085
|
164086
| 164087 |
164088
|
164089
|
164090
|
164091
|
165201