$this->
updateDeMailSubject($connection,
$update);
} private function updateDeMail(Connection
$connection, MailUpdate
$update): void
{ $languages =
$this->
getLanguageIds($connection, 'de-DE'
);
if (!
$languages) { return;
} $translations =
$this->
getTranslationIds($connection,
$languages,
$update->
getType());
if (empty($translations)) { return;
} foreach ($translations as $translation) { $connection->
executeStatement( '
UPDATE mail_template_translation
SET content_html = :html, content_plain = :plain
WHERE language_id = :language_id AND mail_template_id = :template',
[