Skip to content

Commit d31be36

Browse files
[TASK] Remove useless AfterMailerInitializationEvent #1177 (#5147)
* [TASK] Remove useless AfterMailerInitializationEvent #1177 Releases: main * Remove event completely Releases: main --------- Co-authored-by: lina.wolf <lwolf@w-commerce.de>
1 parent 7e9f89d commit d31be36

File tree

6 files changed

+2
-67
lines changed

6 files changed

+2
-67
lines changed

Documentation/ApiOverview/Events/EventDispatcher/Index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ The custom PHP class :php:`\MyVendor\MyExtension\EventListener\NullMailer`
302302
serves as the listener whose :php:`handleEvent()` method is called, once the
303303
:yaml:`event` is dispatched. The name of the listened event is specified as
304304
a typed argument to that dispatch method.
305-
:php:`handleEvent(\TYPO3\CMS\Core\Mail\Event\AfterMailerInitializationEvent $event)` will
306-
for example listen on the event `AfterMailerInitializationEvent`.
305+
:php:`handleEvent(\TYPO3\CMS\Core\Mail\Event\BeforeMailerSentMessageEvent $event)` will
306+
for example listen on the event `BeforeMailerSentMessageEvent`.
307307

308308
The :yaml:`identifier` is a common name, so
309309
orderings can be built upon the identifier, the optional :yaml:`before` and

Documentation/ApiOverview/Events/Events/Core/Mail/AfterMailerInitializationEvent.rst

Lines changed: 0 additions & 28 deletions
This file was deleted.

Documentation/ApiOverview/Events/Events/Core/Mail/_AfterMailerInitializationEvent/_MyEventListener.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

Documentation/ApiOverview/Mail/Index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,6 @@ PSR-14 events on sending messages
609609

610610
Some PSR-14 events are available:
611611

612-
- :ref:`AfterMailerInitializationEvent` to add custom mailing settings.
613612
- :ref:`BeforeMailerSentMessageEvent` to manipulate messages before they are
614613
sent by the mailer.
615614
- :ref:`AfterMailerSentMessageEvent` to further process a sent message.

Documentation/CodeSnippets/Config/Api/Events/EventsCore.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@
5555
'targetFileName' => 'CodeSnippets/Events/Core/BrokenLinkAnalysisEvent.rst.txt',
5656
'withCode' => false,
5757
],
58-
[
59-
'action' => 'createPhpClassDocs',
60-
'class' => \TYPO3\CMS\Core\Mail\Event\AfterMailerInitializationEvent::class,
61-
'targetFileName' => 'CodeSnippets/Events/Core/AfterMailerInitializationEvent.rst.txt',
62-
'withCode' => false,
63-
],
6458
[
6559
'action' => 'createPhpClassDocs',
6660
'class' => \TYPO3\CMS\Core\Package\Event\AfterPackageActivationEvent::class,

Documentation/CodeSnippets/Events/Core/AfterMailerInitializationEvent.rst.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)