'system_default' => true,
'created_at'
=> (new \
DateTime())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
]);
if ($defaultLangId !==
$deLangId) { $connection->
insert('mail_template_translation',
[ 'mail_template_id' => Uuid::
fromHexToBytes($mailTemplateId),
'language_id' =>
$defaultLangId,
'sender_name' => 'Shopware Administration',
'subject' => 'Password recovery',
'description' => '',
'content_html' =>
$this->
getContentHtmlEn(),
'content_plain' =>
$this->
getContentPlainEn(),
'created_at'
=> (new \
DateTime())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
]);
} if ($defaultLangId !== Uuid::
fromHexToBytes(Defaults::LANGUAGE_SYSTEM
)) { $connection->
insert('mail_template_translation',
[ 'mail_template_id' => Uuid::
fromHexToBytes($mailTemplateId),
'language_id' => Uuid::
fromHexToBytes(Defaults::LANGUAGE_SYSTEM
),
'sender_name' => 'Shopware Administration',
'subject' => 'Password recovery',