From d9abf4e872a7390cbb86fbaf9ae9328159bfbd6f Mon Sep 17 00:00:00 2001
From: Torsten Oppermann <torsten@sgalinski.de>
Date: Wed, 28 Mar 2018 11:01:13 +0200
Subject: [PATCH] [TASK] Some cleanups

---
 Classes/Finisher/Forms/FormsFinisher.php | 46 +++---------------------
 1 file changed, 5 insertions(+), 41 deletions(-)

diff --git a/Classes/Finisher/Forms/FormsFinisher.php b/Classes/Finisher/Forms/FormsFinisher.php
index 0af695b8..8f988635 100644
--- a/Classes/Finisher/Forms/FormsFinisher.php
+++ b/Classes/Finisher/Forms/FormsFinisher.php
@@ -3,24 +3,6 @@ declare(strict_types=1);
 
 namespace SGalinski\SgMail\Finisher\Forms;
 
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-use SGalinski\SgMail\Service\MailTemplateService;
-use TYPO3\CMS\Core\Utility\GeneralUtility;
-use TYPO3\CMS\Extbase\Object\ObjectManager;
-use TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher;
-
 /***************************************************************
  *  Copyright notice
  *
@@ -45,31 +27,13 @@ use TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher;
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 
+use SGalinski\SgMail\Service\MailTemplateService;
+use TYPO3\CMS\Core\Utility\GeneralUtility;
+use TYPO3\CMS\Extbase\Object\ObjectManager;
+use TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher;
+
 /**
  * This finisher sends an email to one recipient
- *
- * Options:
- *
- * - templatePathAndFilename (mandatory): Template path and filename for the mail body
- * - layoutRootPath: root path for the layouts
- * - partialRootPath: root path for the partials
- * - variables: associative array of variables which are available inside the Fluid template
- *
- * The following options control the mail sending. In all of them, placeholders in the form
- * of {...} are replaced with the corresponding form value; i.e. {email} as recipientAddress
- * makes the recipient address configurable.
- *
- * - subject (mandatory): Subject of the email
- * - recipientAddress (mandatory): Email address of the recipient
- * - recipientName: Human-readable name of the recipient
- * - senderAddress (mandatory): Email address of the sender
- * - senderName: Human-readable name of the sender
- * - replyToAddress: Email address of to be used as reply-to email (use multiple addresses with an array)
- * - carbonCopyAddress: Email address of the copy recipient (use multiple addresses with an array)
- * - blindCarbonCopyAddress: Email address of the blind copy recipient (use multiple addresses with an array)
- * - format: format of the email (one of the FORMAT_* constants). By default mails are sent as HTML
- *
- * Scope: frontend
  */
 class FormsFinisher extends AbstractFinisher {
 
-- 
GitLab