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

(-)a/misc/cronjobs/process_message_queue.pl (-1 / +5 lines)
Lines 28-33 BEGIN { Link Here
28
use C4::Letters;
28
use C4::Letters;
29
use C4::Log;
29
use C4::Log;
30
use Getopt::Long;
30
use Getopt::Long;
31
use Koha::Notice::Messages;
31
32
32
my $username = undef;
33
my $username = undef;
33
my $password = undef;
34
my $password = undef;
Lines 66-71 die $usage if $help; Link Here
66
67
67
cronlogaction();
68
cronlogaction();
68
69
70
my $msg = Koha::Notice::Message->new({ message_transport_type => 'email' })->store();
71
die("The message_queue table does not appear to be writeable") unless $msg->id;
72
$msg->delete();
73
69
C4::Letters::SendQueuedMessages(
74
C4::Letters::SendQueuedMessages(
70
    {
75
    {
71
        verbose  => $verbose,
76
        verbose  => $verbose,
72
- 

Return to bug 18725