-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add IEMailTemplate to public OCP API #4304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Also adds `\OCP\Mail\IMailer::createEMailTemplate` as helper so the functionality can easily be used within apps. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
@LukasReschke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nickvergessen, @rullzer and @MorrisJobke to be potential reviewers. |
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
lib/public/Mail/IEMailTemplate.php
Outdated
| * @since 12.0.0 | ||
| */ | ||
| public function __construct(Defaults $themingDefaults, | ||
| public function __construct(\OCP\Defaults $themingDefaults, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
constructor has no place in an interface
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@rullzer Constructor adjusted. Please recheck :)
Also adds
\OCP\Mail\IMailer::createEMailTemplateas helper so the functionality can easily be used within apps.@MorrisJobke Strong opinions here? I'd love to have this so this can be easily used in the SharingProvider code.