Signed-off-by: Thomas Citharel <tcit@tcit.fr>
]);
/** @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']);
}
);