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/dav/lib/CalDAV/Reminder | |
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/dav/lib/CalDAV/Reminder')
-rw-r--r-- | apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php index 23e8ffc7e99..1cabf96489f 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php @@ -36,7 +36,7 @@ use OCP\IConfig; use OCP\IL10N; use OCP\IURLGenerator; use OCP\L10N\IFactory as L10NFactory; -use OCP\Mail\AutoSubmittedValue; +use OCP\Mail\Headers\AutoSubmitted; use OCP\Mail\IEMailTemplate; use OCP\Mail\IMailer; use OCP\IUser; @@ -132,7 +132,7 @@ class EmailProvider extends AbstractProvider { } $message->setTo([$emailAddress]); $message->useTemplate($template); - $message->setAutoSubmitted(AutoSubmittedValue::AUTO_GENERATED); + $message->setAutoSubmitted(AutoSubmitted::VALUE_AUTO_GENERATED); try { $failed = $this->mailer->send($message); |