replaced return; with return undef;
This commit is contained in:
parent
ffa90c5fbd
commit
fa09c41598
113 changed files with 287 additions and 286 deletions
|
|
@ -178,7 +178,7 @@ sub addHtmlRaw {
|
|||
Type => "text/html",
|
||||
);
|
||||
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ sub addText {
|
|||
Data => wrap( '', '', $text ),
|
||||
);
|
||||
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -423,9 +423,9 @@ sub retrieve {
|
|||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $messageId = shift;
|
||||
return unless $messageId;
|
||||
return undef unless $messageId;
|
||||
my $data = $session->db->getRow("mailQueue","messageId", $messageId);
|
||||
return unless $data->{messageId};
|
||||
return undef unless $data->{messageId};
|
||||
$session->db->deleteRow("mailQueue","messageId", $messageId);
|
||||
my $parser = MIME::Parser->new;
|
||||
$parser->output_to_core(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue