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

[TASK] Remove extension key option from form finishers

parent ad8783cf
No related branches found
No related tags found
1 merge request!11Feature security update
......@@ -102,7 +102,7 @@ class FormsFinisher extends AbstractFinisher {
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
/** @var \SGalinski\SgMail\Service\MailTemplateService $mailTemplateService */
$mailTemplateService = $objectManager->get(
MailTemplateService::class, $templateName, $this->parseOption('extension'), $markers
MailTemplateService::class, $templateName, 'sg_mail', $markers
);
$mailTemplateService->setIgnoreMailQueue($ignoreMailQueue);
......
......@@ -11,7 +11,6 @@ TYPO3:
label: 'A Label that seems to be never used...'
predefinedDefaults:
options:
extension: 'sg_mail'
template: ''
automaticRegistration: true
ignoreMailQueue: true
......@@ -27,7 +26,6 @@ TYPO3:
label: 'A Label that seems to be never used...'
predefinedDefaults:
options:
extension: 'sg_mail'
template: ''
automaticRegistration: true
ignoreMailQueue: true
......@@ -60,11 +58,6 @@ TYPO3:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
100:
label: "Mail Templates - E-Mail to the website user"
110:
identifier: 'extension'
templateName: 'Inspector-TextEditor'
label: 'Extension key'
propertyPath: 'options.extension'
120:
identifier: 'template'
templateName: 'Inspector-TextEditor'
......@@ -124,11 +117,6 @@ TYPO3:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
100:
label: "Mail Templates - E-Mail to the website admin"
110:
identifier: 'extension'
templateName: 'Inspector-TextEditor'
label: 'Extension key'
propertyPath: 'options.extension'
120:
identifier: 'template'
templateName: 'Inspector-TextEditor'
......
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