Commit d691d79b authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[TASK] remove automaticRegistration field & check

parent 4544d579
......@@ -79,11 +79,6 @@ class FormEditorController extends \TYPO3\CMS\Form\Controller\FormEditorControll
/** @var array $finishers */
$finishers = $formDefinition['finishers'];
foreach ($finishers as $finisher) {
// if the current finisher prevents automatic registration, exit this iteration
if (!$finisher['options']['automaticRegistration']) {
continue;
}
if (!\in_array($finisher['identifier'], self::MAIL_FINISHER, TRUE)) {
continue;
}
......
......@@ -16,7 +16,6 @@ TYPO3:
predefinedDefaults:
options:
template: ''
automaticRegistration: true
ignoreMailQueue: true
mailTo: ''
userName: ''
......@@ -31,7 +30,6 @@ TYPO3:
predefinedDefaults:
options:
template: ''
automaticRegistration: true
ignoreMailQueue: true
mailTo: ''
mailFrom: ''
......@@ -67,11 +65,6 @@ TYPO3:
templateName: 'Inspector-TextEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label'
propertyPath: 'options.template'
125:
identifier: 'automaticRegistration'
templateName: 'Inspector-CheckboxEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToSender.editor.automaticRegistration.label'
propertyPath: 'options.automaticRegistration'
127:
identifier: 'ignoreMailQueue'
templateName: 'Inspector-CheckboxEditor'
......@@ -138,11 +131,6 @@ TYPO3:
templateName: 'Inspector-TextEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label'
propertyPath: 'options.template'
125:
identifier: 'automaticRegistration'
templateName: 'Inspector-CheckboxEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToReceiver.editor.automaticRegistration.label'
propertyPath: 'options.automaticRegistration'
127:
identifier: 'ignoreMailQueue'
templateName: 'Inspector-CheckboxEditor'
......
......@@ -11,9 +11,6 @@
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.automaticRegistration.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.automaticRegistration.label" xml:space="preserve">
<source>Automatic Registration (If selected, you can find your template in the "Mail Template" module after saving. Look for the extension and template key in the dropdown in the upper left corner of the template editor.)</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
......@@ -36,12 +33,8 @@
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.bcc.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.bcc.label" xml:space="preserve">
<source>The bcc address of the email</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.automaticRegistration.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.automaticRegistration.label" xml:space="preserve">
<source>Automatic Registration (If selected, you can find your template in the "Mail Template" module after saving. Look for the extension and template key in the dropdown in the upper left corner of the template editor.</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
......
......@@ -14,10 +14,6 @@
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
<target state="translated">Einzigartiger Vorlagen-Name (wird verwendet um die E-Mail Vorlage eindeutig zu identifizieren)</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.automaticRegistration.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.automaticRegistration.label" xml:space="preserve">
<source>Automatic Registration (If selected, you can find your template in the "Mail Template" module after saving. Look for the extension and template key in the dropdown in the upper left corner of the template editor.)</source>
<target state="translated">Automatische Registrierung (Wenn aktiviert, kann die E-Mail Vorlage nach dem Speichern im Backend-Modul "Mail-Templates" gefunden werden. Such nach dem Extension- &amp; Template-Namen im Dropdown in der oberen linken Ecke.)</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
......@@ -47,14 +43,9 @@
<source>The bcc address of the email</source>
<target state="translated">Die BCC-Adresse der E-Mail</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
<target state="translated">Einzigartiger Vorlagen-Name (wird verwendet um die E-Mail Vorlage eindeutig zu identifizieren)</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.automaticRegistration.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.automaticRegistration.label" xml:space="preserve">
<source>Automatic Registration (If selected, you can find your template in the "Mail Template" module after saving. Look for the extension and template key in the dropdown in the upper left corner of the template editor.</source>
<target state="translated">Automatische Registrierung (Wenn aktiviert, kann die E-Mail Vorlage nach dem Speichern im Backend-Modul "Mail-Templates" gefunden werden. Such nach dem Extension- &amp; Template-Namen im Dropdown in der oberen linken Ecke.)</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment