forked from KnpLabs/KnpUserBundle
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the mailer implementation based on Swiftmailer
Swiftmailer is not maintained anymore.
- Loading branch information
Showing
12 changed files
with
5 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
src/DependencyInjection/Compiler/CheckForSwiftMailerPass.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
/** | ||
* This mailer does nothing. | ||
* It is used when the 'email' configuration is not set, | ||
* and allows to use this bundle without swiftmailer. | ||
* and allows to use this bundle without a mailer component. | ||
* | ||
* @author Thibault Duplessis <[email protected]> | ||
*/ | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,6 @@ | |
<parameters> | ||
<parameter key="fos_user.resetting.email.template">@FOSUser/Resetting/email.txt.twig</parameter> | ||
<parameter key="fos_user.registration.confirmation.template">@FOSUser/Registration/email.txt.twig</parameter> | ||
<parameter key="fos_user.registration.confirmation.from_email" type="collection"> | ||
<parameter key="[email protected]">Acme Ltd</parameter> | ||
</parameter> | ||
<parameter key="fos_user.resetting.email.from_email" type="collection"> | ||
<parameter key="[email protected]">Acme Ltd</parameter> | ||
</parameter> | ||
<parameter key="fos_user.registration.confirmation.from_address" type="collection"> | ||
<parameter key="address">[email protected]</parameter> | ||
<parameter key="sender_name">Acme Ltd</parameter> | ||
|
@@ -24,23 +18,6 @@ | |
</parameters> | ||
|
||
<services> | ||
<service id="fos_user.mailer.twig_swift" class="FOS\UserBundle\Mailer\TwigSwiftMailer" public="false"> | ||
<argument type="service" id="swiftmailer.mailer" /> | ||
<argument type="service" id="router" /> | ||
<argument type="service" id="twig" /> | ||
<argument type="collection"> | ||
<argument key="template" type="collection"> | ||
<argument key="confirmation">%fos_user.registration.confirmation.template%</argument> | ||
<argument key="resetting">%fos_user.resetting.email.template%</argument> | ||
</argument> | ||
<argument key="from_email" type="collection"> | ||
<argument key="confirmation">%fos_user.registration.confirmation.from_email%</argument> | ||
<argument key="resetting">%fos_user.resetting.email.from_email%</argument> | ||
</argument> | ||
</argument> | ||
<tag name="fos_user.requires_swift" /> | ||
</service> | ||
|
||
<service id="fos_user.mailer.twig_symfony" class="FOS\UserBundle\Mailer\TwigSymfonyMailer" public="false"> | ||
<argument type="service" id="mailer" /> | ||
<argument type="service" id="router" /> | ||
|
Oops, something went wrong.