diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-02-18 15:52:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 15:52:33 +0100 |
commit | 6e0101b59c3942a3f6cd148da18c89bf2d33120d (patch) | |
tree | ea2e0ed1ca1d1cb11f4e0a3712a090ce0087cb0a /apps/dav/lib/AppInfo | |
parent | 280cc47a86d88edfdeaca82f5ccd41c7f7232b1d (diff) | |
parent | 22f8c42f06fd923ba204fe64c623c30974483e1a (diff) | |
download | nextcloud-server-6e0101b59c3942a3f6cd148da18c89bf2d33120d.tar.gz nextcloud-server-6e0101b59c3942a3f6cd148da18c89bf2d33120d.zip |
Merge pull request #20766 from nextcloud/bug/fix-reminders-with-empty-calendar-data
Consider only reminders with calendar data
Diffstat (limited to 'apps/dav/lib/AppInfo')
-rw-r--r-- | apps/dav/lib/AppInfo/Application.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php index a2fd645ab8a..e25b63b598e 100644 --- a/apps/dav/lib/AppInfo/Application.php +++ b/apps/dav/lib/AppInfo/Application.php @@ -39,6 +39,7 @@ use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalendarManager; use OCA\DAV\CalDAV\CalendarProvider; +use OCA\DAV\CalDAV\Reminder\Backend as ReminderBackend; use OCA\DAV\CalDAV\Reminder\NotificationProvider\AudioProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider; @@ -306,6 +307,9 @@ class Application extends App implements IBootstrap { /** @var CalDavBackend $calDavBackend */ $calDavBackend = $container->query(CalDavBackend::class); $calDavBackend->purgeAllCachedEventsForSubscription($subscriptionData['id']); + /** @var ReminderBackend $calDavBackend */ + $reminderBackend = $container->query(ReminderBackend::class); + $reminderBackend->cleanRemindersForCalendar($subscriptionData['id']); } ); |