Lines 70-80
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 |
username => $username, |
93 |
username => $username, |
77 |
password => $password, |
94 |
password => $password, |
78 |
method => $method, |
95 |
method => $method, |
79 |
limit => $limit, |
96 |
limit => $limit, |
80 |
type => $type, |
97 |
type => $type, |
81 |
- |
|
|