Don't show debug info in email content.
This commit is contained in:
parent
6ea4a47c60
commit
a761768c0a
1 changed files with 2 additions and 1 deletions
|
|
@ -71,6 +71,7 @@ sub processContentAsUser {
|
|||
|
||||
# Become the desired user
|
||||
$session->user( { userId => $userId } );
|
||||
$session->log->preventDebugOutput;
|
||||
|
||||
# Generate email body for this user
|
||||
my $content = $self->generateEmailContent;
|
||||
|
|
@ -133,7 +134,7 @@ sub www_previewEmail {
|
|||
|
||||
my $url = $self->getUrl("func=previewContent;issueId=$issueId;userId=$userId");
|
||||
|
||||
return <<EOHTML
|
||||
return <<EOHTML;
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue