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

(-)a/misc/cronjobs/process_message_queue.pl (-1 / +17 lines)
Lines 70-75 die $usage if $help; Link Here
70
70
71
cronlogaction();
71
cronlogaction();
72
72
73
if ( C4::Context->preference('UseKohaPlugins') && C4::Context->config("enable_plugins") ) {
74
    my @plugins = Koha::Plugins->new->GetPlugins({
75
        method => 'before_send_messages',
76
    });
77
78
    if (@plugins) {
79
        foreach my $plugin ( @plugins ) {
80
            try {
81
                $plugin->before_send_messages();
82
            }
83
            catch {
84
                warn "$_";
85
            };
86
        }
87
    }
88
}
89
73
C4::Letters::SendQueuedMessages(
90
C4::Letters::SendQueuedMessages(
74
    {
91
    {
75
        verbose  => $verbose,
92
        verbose  => $verbose,
76
- 

Return to bug 24183