]> source.dussan.org Git - nextcloud-server.git/commit
feat(Mailer): implement caching
authorThomas Lehmann <t.lehmann@strato.de>
Thu, 7 Nov 2024 10:02:17 +0000 (11:02 +0100)
committerThomas Lehmann <147605810+thlehmann-ionos@users.noreply.github.com>
Tue, 19 Nov 2024 10:32:39 +0000 (11:32 +0100)
commit46d8a7333b9b77ccc440afd0a3c3fe7c5bc3901c
treeaa47a3157bda319a5fc4c10a564a92ec234f03d6
parent6559c2075e46c796ff518b0e23e38534783ed194
feat(Mailer): implement caching

Currently $this->instance is never set, so the code is no-op. This
brings back caching of the instance.

Caching broke with

   be7db1573dc8c6e7309ec9db124a7a74b8b41199

   Swift to \Swift_Mailer as abstraction

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
lib/private/Mail/Mailer.php
tests/lib/Mail/MailerTest.php