diff options
author | Georg Ehrke <developer@georgehrke.com> | 2019-08-02 16:49:53 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-15 20:02:56 +0200 |
commit | 7c4a8a3bdf6d8c0c12cf7cab93cc465c83c4ec8f (patch) | |
tree | 82a6832ee445d877105f698e135aa7fe8f5c8e9a /apps/dav/lib/AppInfo | |
parent | c5147529af4fac3eb8ac7bc4db3d10867600edaf (diff) | |
download | nextcloud-server-7c4a8a3bdf6d8c0c12cf7cab93cc465c83c4ec8f.tar.gz nextcloud-server-7c4a8a3bdf6d8c0c12cf7cab93cc465c83c4ec8f.zip |
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 <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/AppInfo')
-rw-r--r-- | apps/dav/lib/AppInfo/Application.php | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |