diff --git a/Classes/Powermail/Finisher/CleverReach.php b/Classes/Powermail/Finisher/CleverReach.php index 1561b68..6cd211d 100644 --- a/Classes/Powermail/Finisher/CleverReach.php +++ b/Classes/Powermail/Finisher/CleverReach.php @@ -31,14 +31,23 @@ class CleverReach extends AbstractFinisher */ protected $mailRepository; - - /** + * typoScriptService * Because of T3 7 compatibility use this class - * @var \TYPO3\CMS\Extbase\Service\TypoScriptService - * @TYPO3\CMS\Extbase\Annotation\Inject + * + * @var \TYPO3\CMS\Core\TypoScript\TypoScriptService */ - protected $typoScriptService; + protected $typoScriptService = null; + + /** + * Inject a typoScriptService + * + * @param \TYPO3\CMS\Core\TypoScript\TypoScriptService $typoScriptService + */ + public function injectTypoScriptService(\TYPO3\CMS\Core\TypoScript\TypoScriptService $typoScriptService) + { + $this->typoScriptService = $typoScriptService; + } /** @@ -121,7 +130,7 @@ public function cleverreachFinisher() /** * Initialize */ - public function initializeFinisher() + public function initializeFinisher(): void { $configuration = $this->typoScriptService->convertPlainArrayToTypoScriptArray($this->settings); if (!empty($configuration['dbEntry.'])) { diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php new file mode 100644 index 0000000..1480f09 --- /dev/null +++ b/Configuration/TCA/Overrides/pages.php @@ -0,0 +1,9 @@ + 'Sven Wappler', 'author_email' => 'typo3YYYY@wappler.systems', 'author_company' => 'WapplerSystems', - 'version' => '0.1.7', + 'version' => '0.1.8', 'constraints' => [ 'depends' => [ - 'typo3' => '7.6.0-9.5.99', + 'typo3' => '7.6.0-10.4.99', 'php' => '7.0.0-7.4.99', ], 'conflicts' => [],