aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Reminder
diff options
context:
space:
mode:
authorBennet Becker <dev@bennet.cc>2023-01-03 15:28:43 +0100
committerBennet Becker <dev@bennet.cc>2023-01-03 15:28:43 +0100
commit5a1cc8de9b13298d28afd6f1f1be02fafe2428b0 (patch)
treef87bd0d57e4fd67777edabefd7744e561b78c2dc /apps/dav/lib/CalDAV/Reminder
parentbd846df6991dc827140c30105a6aecc34520cee3 (diff)
downloadnextcloud-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.php4
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);