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\NotificationProvider\AudioProvider;
use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider;
use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider;
$context->registerEventListener(CardUpdatedEvent::class, CardListener::class);
$context->registerNotifierService(Notifier::class);
+
+ $context->registerCalendarProvider(CalendarProvider::class);
}
public function boot(IBootContext $context): void {
use OCP\AppFramework\IAppContainer;
use OCP\Authentication\TwoFactorAuth\IProvider;
+use OCP\Calendar\ICalendarProvider;
use OCP\Capabilities\ICapability;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\Template\ICustomTemplateProvider;
* Register a calendar provider
*
* @param string $class
- * @psalm-param class-string<IProvider> $class
+ * @psalm-param class-string<ICalendarProvider> $class
* @since 23.0.0
*/
public function registerCalendarProvider(string $class): void;