]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix missing class in NewUserMailHelper and static code analysis errors 35876/head
authorBennet Becker <dev@bennet.cc>
Tue, 3 Jan 2023 15:23:41 +0000 (16:23 +0100)
committerBennet Becker <dev@bennet.cc>
Tue, 3 Jan 2023 15:23:41 +0000 (16:23 +0100)
Signed-off-by: Bennet Becker <dev@bennet.cc>
apps/settings/lib/Mailer/NewUserMailHelper.php
lib/public/Mail/Headers/AutoSubmitted.php
lib/public/Mail/IMessage.php

index bfa34e1746a04353a8a306e19e6e8ccba94b8707..b91aea4391bd013b7be1feaa1722892721776d1b 100644 (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;
index 73bd35e129ee531becc1002a2a5c2955f55b0b46..21df18dd91895e0709b86f0f5573e808d63516cf 100644 (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
         */
index c53ab12bbb7c18dd08b23012d7150fb8285f3b2d..994d32603e93a07b4334017480beb18335fd36af 100644 (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
         */