From 5663c61e513ff983eb9c92f8e4521b5e6de8a4f7 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 14 Feb 2024 10:32:23 +0100 Subject: [PATCH] =?UTF-8?q?=20N=C2=B07179=20Remove=20unused=20var=20in=20A?= =?UTF-8?q?ctionEmail::PrepareMessageContent=20(#605)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduced in fed149d in 3.1.0 --- core/action.class.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/action.class.inc.php b/core/action.class.inc.php index 53bf71865..4237330d3 100644 --- a/core/action.class.inc.php +++ b/core/action.class.inc.php @@ -629,9 +629,7 @@ class ActionEmail extends ActionNotification $oLog->Set('body', HTMLSanitizer::Sanitize($aMessageContent['body'])); } } - $sStyles = file_get_contents(APPROOT.'css/email.css'); - $sStyles .= MetaModel::GetConfig()->Get('email_css'); - + if ($this->IsBeingTested()) { $sTestBody = $aMessageContent['body']; $sTestBody .= "
\n";