Bugzilla – Attachment 163007 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: Clarify method name
Bug-19605-Clarify-method-name.patch (text/plain), 1.50 KB, created by
Tomás Cohen Arazi
on 2024-03-09 13:08:23 UTC
(
hide
)
Description:
Bug 19605: Clarify method name
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2024-03-09 13:08:23 UTC
Size:
1.50 KB
patch
obsolete
>From cf0cc91e40e611fa5e7c5dfd4461459c39bdb6f6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Sat, 9 Mar 2024 10:00:17 -0300 >Subject: [PATCH] Bug 19605: Clarify method name > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Illrequest/Config.pm | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/Koha/Illrequest/Config.pm b/Koha/Illrequest/Config.pm >index 3c0356389e6..61220a0eb25 100644 >--- a/Koha/Illrequest/Config.pm >+++ b/Koha/Illrequest/Config.pm >@@ -104,16 +104,16 @@ sub backend_dir { > return $self->{configuration}->{backend_directory}; > } > >-=head3 get_installed_backend_plugins >+=head3 get_backend_plugin_names > >- $backends = $config->get_installed_backend_plugins; >+ my @backend_names = $config->get_backend_plugin_names(); > >-Returns a list of all installed ILL backend plugins >+Returns a list of names for all the installed ILL backend plugins. > > =cut > >-sub get_installed_backend_plugins { >- my ( $self, $reduce ) = @_; >+sub get_backend_plugin_names { >+ my ( $self ) = @_; > > my @backend_plugins = Koha::Plugins->new()->GetPlugins( > { >@@ -140,7 +140,7 @@ sub available_backends { > my ( $self, $reduce ) = @_; > > # New way of loading backends: Through plugins >- my @backend_plugins_names = $self->get_installed_backend_plugins; >+ my @backend_plugins_names = $self->get_backend_plugin_names; > > # Old way of loading backends: Through backend_dir config > my $backend_dir = $self->backend_dir; >-- >2.44.0
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