Skip to content

Commit

Permalink
[TASK] Define non-shared models in Services.yaml
Browse files Browse the repository at this point in the history
- in case of sending 2 emails (user and admin), just one was logged
- because just one mailLog instance was created, instead of two
  • Loading branch information
CristinaCutus committed Apr 4, 2024
1 parent ad7df2a commit 250bfc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Configuration/Services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ services:
exclude:
- '../Classes/Logging/LoggingTransport.php'

Pluswerk\MailLogger\Domain\Model\:
resource: '../Classes/Domain/Model/*'
shared: false

TYPO3\CMS\Core\Mail\MailerInterface:
alias: Pluswerk\MailLogger\Logging\MailerExtender
TYPO3\CMS\Core\Mail\Mailer:
Expand Down

0 comments on commit 250bfc1

Please sign in to comment.