File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 1010use TYPO3 \CMS \Extbase \Object \Exception ;
1111use TYPO3 \CMS \Extbase \SignalSlot \Exception \InvalidSlotException ;
1212use TYPO3 \CMS \Extbase \SignalSlot \Exception \InvalidSlotReturnException ;
13- use TYPO3 \CMS \Frontend \ContentObject \ContentObjectRenderer ;
1413
1514/**
1615 * Class SaveToAnyTableFinisher
1716 */
1817class SaveToAnyTableFinisher extends AbstractFinisher implements FinisherInterface
1918{
20-
21- /**
22- * @var ContentObjectRenderer
23- */
24- protected $ contentObject ;
25-
2619 /**
2720 * @var array
2821 */
@@ -234,13 +227,4 @@ public function initializeFinisher(): void
234227 $ this ->addArrayToDataArray ($ mailRepository ->getVariablesWithMarkersFromMail ($ this ->mail ));
235228 }
236229 }
237-
238- /**
239- * @param ContentObjectRenderer $contentObject
240- * @return void
241- */
242- public function injectContentObject (ContentObjectRenderer $ contentObject ): void
243- {
244- $ this ->contentObject = $ contentObject ;
245- }
246230}
Original file line number Diff line number Diff line change 1515 */
1616class SendParametersFinisher extends AbstractFinisher implements FinisherInterface
1717{
18-
1918 /**
2019 * @var ConfigurationManagerInterface
2120 */
2221 protected $ configurationManager ;
2322
24- /**
25- * @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
26- */
27- protected $ contentObject = null ;
28-
2923 /**
3024 * TypoScript configuration part sendPost
3125 *
@@ -129,8 +123,6 @@ protected function isEnabled(): bool
129123 */
130124 public function initializeFinisher (): void
131125 {
132- // @extensionScannerIgnoreLine Seems to be a false positive: getContentObject() is still correct in 9.0
133- $ this ->contentObject = $ this ->configurationManager ->getContentObject ();
134126 $ mailRepository = ObjectUtility::getObjectManager ()->get (MailRepository::class);
135127 $ this ->contentObject ->start ($ mailRepository ->getVariablesWithMarkersFromMail ($ this ->mail ));
136128 $ configurationService = ObjectUtility::getObjectManager ()->get (ConfigurationService::class);
You can’t perform that action at this time.
0 commit comments