diff options
author | Akhil <akhil@e.email> | 2023-02-27 15:56:24 +0530 |
---|---|---|
committer | Akhil <akhil@e.email> | 2023-02-27 15:56:39 +0530 |
commit | e82371838316ef9235eb822082ef19187fad4d1d (patch) | |
tree | 43d904783c31eda3fbf16995f2820f3db3195bd2 /apps/dav | |
parent | e354e9266e75a84dce46cd2fcf51a46da3c243d0 (diff) | |
download | nextcloud-server-e82371838316ef9235eb822082ef19187fad4d1d.tar.gz nextcloud-server-e82371838316ef9235eb822082ef19187fad4d1d.zip |
Remove reminder if max instances exceeded
Signed-off-by: Akhil <akhil@e.email>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CalDAV/Reminder/ReminderService.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Reminder/ReminderService.php b/apps/dav/lib/CalDAV/Reminder/ReminderService.php index 572d815911b..bca154a48e8 100644 --- a/apps/dav/lib/CalDAV/Reminder/ReminderService.php +++ b/apps/dav/lib/CalDAV/Reminder/ReminderService.php @@ -151,6 +151,7 @@ class ReminderService { $vevent = $this->getVEventByRecurrenceId($vcalendar, $reminder['recurrence_id'], $reminder['is_recurrence_exception']); } catch (MaxInstancesExceededException $e) { $this->logger->debug('Recurrence with too many instances detected, skipping VEVENT', ['exception' => $e]); + $this->backend->removeReminder($reminder['id']); continue; } |