From 7c4a8a3bdf6d8c0c12cf7cab93cc465c83c4ec8f Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Fri, 2 Aug 2019 16:49:53 +0200 Subject: Provide a fake AudioProvider that is basically the same as PushProvider, better then not showing reminders at all for now Signed-off-by: Georg Ehrke --- apps/dav/lib/AppInfo/Application.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/dav/lib/AppInfo') diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php index 1c5505d0585..5d17dc5a241 100644 --- a/apps/dav/lib/AppInfo/Application.php +++ b/apps/dav/lib/AppInfo/Application.php @@ -31,6 +31,7 @@ use OCA\DAV\CalDAV\Activity\Provider\Event; use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\CalendarManager; 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; use OCA\DAV\CalDAV\Reminder\NotificationProviderManager; @@ -259,6 +260,7 @@ class Application extends App { try { /** @var NotificationProviderManager $notificationProviderManager */ $notificationProviderManager = $this->getContainer()->query(NotificationProviderManager::class); + $notificationProviderManager->registerProvider(AudioProvider::class); $notificationProviderManager->registerProvider(EmailProvider::class); $notificationProviderManager->registerProvider(PushProvider::class); } catch(\Exception $ex) { -- cgit v1.2.3