View | Details | Raw Unified | Return to bug 35655
Collapse All | Expand All

(-)a/Koha/BackgroundJob.pm (-2 / +3 lines)
Lines 63-70 Connect to the message broker using default guest/guest credential Link Here
63
63
64
sub connect {
64
sub connect {
65
    my ( $self );
65
    my ( $self );
66
66
    my $notification_method = C4::Context->preference('JobsNotificationMethod') // 'STOMP';
67
    my $notification_method = C4::Context->preference('JobsNotificationMethod') // 'STOMP';
67
    return undef
68
69
    return
68
        unless $notification_method eq 'STOMP';
70
        unless $notification_method eq 'STOMP';
69
71
70
    my $hostname = $ENV{KOHA_STOMP_HOSTNAME} // 'localhost';
72
    my $hostname = $ENV{KOHA_STOMP_HOSTNAME} // 'localhost';
71
- 

Return to bug 35655