summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/AppInfo
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2020-07-27 16:14:15 +0200
committerGeorg Ehrke <developer@georgehrke.com>2020-08-04 16:01:59 +0200
commit900617e7d7260804ec89a03ca0201340d7585c8b (patch)
tree9311f493a11016e247f2378368b46e42a14e35b8 /apps/dav/lib/AppInfo
parentc124b485f123fb24cb1d305e5ea62cbb6ae077c9 (diff)
downloadnextcloud-server-900617e7d7260804ec89a03ca0201340d7585c8b.tar.gz
nextcloud-server-900617e7d7260804ec89a03ca0201340d7585c8b.zip
Add Event and Task Backends for Unified Search
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/AppInfo')
-rw-r--r--apps/dav/lib/AppInfo/Application.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php
index 6f2f7b29153..1bad3cb1eba 100644
--- a/apps/dav/lib/AppInfo/Application.php
+++ b/apps/dav/lib/AppInfo/Application.php
@@ -55,6 +55,8 @@ use OCA\DAV\CardDAV\PhotoCache;
use OCA\DAV\CardDAV\SyncService;
use OCA\DAV\HookManager;
use OCA\DAV\Search\ContactsSearchProvider;
+use OCA\DAV\Search\EventsSearchProvider;
+use OCA\DAV\Search\TasksSearchProvider;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
@@ -102,6 +104,8 @@ class Application extends App implements IBootstrap {
* Register Search Providers
*/
$context->registerSearchProvider(ContactsSearchProvider::class);
+ $context->registerSearchProvider(EventsSearchProvider::class);
+ $context->registerSearchProvider(TasksSearchProvider::class);
}
public function boot(IBootContext $context): void {