Bugzilla – Attachment 172232 Details for
Bug 35655
Make it possible to switch off RabbitMQ without any warns in logs/about page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35655: (follow-up) Fix perlcritic error
Bug-35655-follow-up-Fix-perlcritic-error.patch (text/plain), 882 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2024-09-30 16:53:28 UTC
(
hide
)
Description:
Bug 35655: (follow-up) Fix perlcritic error
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-09-30 16:53:28 UTC
Size:
882 bytes
patch
obsolete
>From ae52de87f8a1f01ff5d3bcae96bcf11df3765c72 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 30 Sep 2024 13:52:21 -0300 >Subject: [PATCH] Bug 35655: (follow-up) Fix perlcritic error > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/BackgroundJob.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/Koha/BackgroundJob.pm b/Koha/BackgroundJob.pm >index 99fc3bb3ddd..4914971dbfa 100644 >--- a/Koha/BackgroundJob.pm >+++ b/Koha/BackgroundJob.pm >@@ -63,8 +63,10 @@ Connect to the message broker using default guest/guest credential > > sub connect { > my ( $self ); >+ > my $notification_method = C4::Context->preference('JobsNotificationMethod') // 'STOMP'; >- return undef >+ >+ return > unless $notification_method eq 'STOMP'; > > my $hostname = $ENV{KOHA_STOMP_HOSTNAME} // 'localhost'; >-- >2.46.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 35655
:
171412
|
171413
|
171503
|
171504
|
171505
|
171506
|
171507
|
171509
|
171510
|
171511
|
171512
|
172027
|
172028
|
172029
|
172157
|
172158
|
172159
| 172232