Browse Source

fix missing class in NewUserMailHelper and static code analysis errors

Signed-off-by: Bennet Becker <dev@bennet.cc>
tags/v26.0.0beta1
Bennet Becker 1 year ago
parent
commit
c8bde160cd
No account linked to committer's email address

+ 1
- 1
apps/settings/lib/Mailer/NewUserMailHelper.php View File

@@ -35,7 +35,7 @@ use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\L10N\IFactory;
use OCP\Mail\Header\AutoSubmitted;
use OCP\Mail\Headers\AutoSubmitted;
use OCP\Mail\IEMailTemplate;
use OCP\Mail\IMailer;
use OCP\Security\ICrypto;

+ 1
- 1
lib/public/Mail/Headers/AutoSubmitted.php View File

@@ -39,7 +39,7 @@ final class AutoSubmitted {

/**
* Name of the Header as used in the final message later
*
*
* @var string
* @since 26.0.0
*/

+ 1
- 1
lib/public/Mail/IMessage.php View File

@@ -98,7 +98,7 @@ interface IMessage {
* Add the Auto-Submitted header to the email, preventing most automated
* responses to automated messages.
*
* @param AutoSubmitted::VALUE_* $value (one of AutoSubmitted::VALUE_NO, AutoSubmitted::VALUE_AUTO_GENERATED, AutoSubmitted::VALUE_AUTO_REPLIED)
* @param Headers\AutoSubmitted::VALUE_* $value (one of AutoSubmitted::VALUE_NO, AutoSubmitted::VALUE_AUTO_GENERATED, AutoSubmitted::VALUE_AUTO_REPLIED)
* @return IMessage
* @since 26.0.0
*/

Loading…
Cancel
Save