Bugzilla – Attachment 177737 Details for
Bug 39092
When loading an ILL backend plugin it should be cached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39092: (follow-up) Do not look for plugins if Standard backend used
Bug-39092-follow-up-Do-not-look-for-plugins-if-Sta.patch (text/plain), 1.06 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-02-11 15:17:38 UTC
(
hide
)
Description:
Bug 39092: (follow-up) Do not look for plugins if Standard backend used
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-02-11 15:17:38 UTC
Size:
1.06 KB
patch
obsolete
>From ed755cd33a2bc3b0c4ee82a8f7975e93732cfe26 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 11 Feb 2025 11:15:16 -0300 >Subject: [PATCH] Bug 39092: (follow-up) Do not look for plugins if Standard > backend used > >If we've been asked the `Standard` backend we shouldn't be trying to >load plugins. > >Trivial refactoring of the order things are done. >--- > Koha/ILL/Request.pm | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/Koha/ILL/Request.pm b/Koha/ILL/Request.pm >index 25501556b5d..33b0babd6ba 100644 >--- a/Koha/ILL/Request.pm >+++ b/Koha/ILL/Request.pm >@@ -483,8 +483,12 @@ sub load_backend { > logger => Koha::ILL::Request::Logger->new > }; > >- # Find plugin implementing the backend for the request >- my $plugin = $self->get_backend_plugin($backend_name); >+ my $plugin; >+ if ( $backend_name ne 'Standard' ) { >+ >+ # Find plugin implementing the backend for the request >+ $plugin = $self->get_backend_plugin($backend_name); >+ } > > if ( $backend_name eq 'Standard' ) { > >-- >2.48.1
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 39092
:
177735
|
177736
| 177737 |
177738