diff options
author | Bennet Becker <dev@bennet.cc> | 2023-01-03 15:28:43 +0100 |
---|---|---|
committer | Bennet Becker <dev@bennet.cc> | 2023-01-03 15:28:43 +0100 |
commit | 5a1cc8de9b13298d28afd6f1f1be02fafe2428b0 (patch) | |
tree | f87bd0d57e4fd67777edabefd7744e561b78c2dc /apps/settings/lib | |
parent | bd846df6991dc827140c30105a6aecc34520cee3 (diff) | |
download | nextcloud-server-5a1cc8de9b13298d28afd6f1f1be02fafe2428b0.tar.gz nextcloud-server-5a1cc8de9b13298d28afd6f1f1be02fafe2428b0.zip |
update usages of AutoSubmittedValue to AutoSubmitted::VALUE_
Signed-off-by: Bennet Becker <dev@bennet.cc>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r-- | apps/settings/lib/Mailer/NewUserMailHelper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/Mailer/NewUserMailHelper.php b/apps/settings/lib/Mailer/NewUserMailHelper.php index 5da1082455e..bfa34e1746a 100644 --- a/apps/settings/lib/Mailer/NewUserMailHelper.php +++ b/apps/settings/lib/Mailer/NewUserMailHelper.php @@ -35,7 +35,7 @@ use OCP\IConfig; use OCP\IURLGenerator; use OCP\IUser; use OCP\L10N\IFactory; -use OCP\Mail\AutoSubmittedValue; +use OCP\Mail\Header\AutoSubmitted; use OCP\Mail\IEMailTemplate; use OCP\Mail\IMailer; use OCP\Security\ICrypto; @@ -182,7 +182,7 @@ class NewUserMailHelper { $message->setTo([$email => $user->getDisplayName()]); $message->setFrom([$this->fromAddress => $this->themingDefaults->getName()]); $message->useTemplate($emailTemplate); - $message->setAutoSubmitted(AutoSubmittedValue::AUTO_GENERATED); + $message->setAutoSubmitted(AutoSubmitted::VALUE_AUTO_GENERATED); $this->mailer->send($message); } } |