Unverified Commit d06716db authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #31295 from nextcloud/fix-cleaning-reminders

Fix cleaning reminders after subscription purge
parents c4d09af6 9347fc18
......@@ -305,11 +305,11 @@ class Application extends App implements IBootstrap {
]);
/** @var CalDavBackend $calDavBackend */
$calDavBackend = $container->query(CalDavBackend::class);
$calDavBackend = $container->get(CalDavBackend::class);
$calDavBackend->purgeAllCachedEventsForSubscription($subscriptionData['id']);
/** @var ReminderBackend $calDavBackend */
$reminderBackend = $container->query(ReminderBackend::class);
$reminderBackend->cleanRemindersForCalendar($subscriptionData['id']);
$reminderBackend = $container->get(ReminderBackend::class);
$reminderBackend->cleanRemindersForCalendar((int) $subscriptionData['id']);
}
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment