Skip to content
Snippets Groups Projects
Commit 4bd866ee authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] cleaning up conf file

parent c11e8203
No related branches found
No related tags found
No related merge requests found
......@@ -30,47 +30,6 @@ if (!defined('TYPO3_MODE')) {
/** @noinspection PhpUndefinedVariableInspection */
$extPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('sg_mail');
$templatePath = $extPath . 'Resources/Private/Templates/';
$marker = [
[
'marker' => 'kundennummer',
'value' => '01234567890',
'description' => 'This is the Customer no'
],
[
'marker' => 'iban',
'value' => 'DE XXXXXXXXXX',
'description' => 'This is the Bank Information'
]
];
$description = 'E-Mail for Passwort reset request';
\SGalinski\SgMail\Service\MailTemplateService::registerTemplate(
'sg_mail', 'password_reset', $templatePath, $description, $marker
);
$templatePath = $extPath . 'Resources/Private/';
$marker = [
[
'marker' => 'kundennummer',
'value' => '6666666666666',
'description' => 'This is the Customer no'
],
[
'marker' => 'iban',
'value' => 'DE XXXXXXXXXX',
'description' => 'This is the Bank Information'
]
];
$description = 'E-Mail for confirmation of registration process';
\SGalinski\SgMail\Service\MailTemplateService::registerTemplate(
'sg_mail', 'registration_confirmation', $templatePath, $description, $marker
);
// register command controllers
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment