diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-11 12:20:58 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-25 14:44:04 +0300 |
commit | c6f8bc732e95236a6ba7447e7ced6d947ca8f0d8 (patch) | |
tree | 29a328a4e01b021d471c36387cfcfacf923bbabd /lib/AppInfo | |
parent | 98f476bc57e4594f78284eb08c84c9844d0271df (diff) |
Add a unified search provider
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r-- | lib/AppInfo/Application.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 76f0b9a11..a9eca0249 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -55,6 +55,7 @@ use OCA\Mail\Listener\NewMessageClassificationListener; use OCA\Mail\Listener\SaveSentMessageListener; use OCA\Mail\Listener\TrashMailboxCreatorListener; use OCA\Mail\Listener\UserDeletedListener; +use OCA\Mail\Search\Provider; use OCA\Mail\Service\Attachment\AttachmentService; use OCA\Mail\Service\AvatarService; use OCA\Mail\Service\MailManager; @@ -116,6 +117,7 @@ class Application extends App implements IBootstrap { $context->registerMiddleWare(ProvisioningMiddleware::class); $context->registerDashboardWidget(MailWidget::class); + $context->registerSearchProvider(Provider::class); // bypass Horde Translation system Horde_Translation::setHandler('Horde_Imap_Client', new HordeTranslationHandler()); |