Merge branch 'support/2.7' into support/3.0

This commit is contained in:
Eric Espie
2022-12-14 15:45:27 +01:00
3 changed files with 8 additions and 9 deletions

View File

@@ -273,13 +273,11 @@ class EmailSwiftMailer extends EMail
}
else
{
$bConfigASYNC = MetaModel::GetConfig()->Get('email_asynchronous');
if ($bConfigASYNC)
{
$oConfig = $this->LoadConfig();
$bConfigASYNC = $oConfig->Get('email_asynchronous');
if ($bConfigASYNC) {
return $this->SendAsynchronous($aIssues, $oLog);
}
else
{
} else {
return $this->SendSynchronous($aIssues, $oLog);
}
}