Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2019-10-07 15:07:51 +0300
committerGitHub <noreply@github.com>2019-10-07 15:07:51 +0300
commit18a76774eb0f0e00b5a3ddfbea8d2e980219b642 (patch)
tree72b07864b1dd615fefc686eee76f7648d3fbae2c /lib/AppInfo
parent4e2ebfa08d809ab01de113eb895757fb7b5a02ca (diff)
Clean up searching for messages (#2058)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/BootstrapSingleton.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/AppInfo/BootstrapSingleton.php b/lib/AppInfo/BootstrapSingleton.php
index be8f93ca8..448a2fc68 100644
--- a/lib/AppInfo/BootstrapSingleton.php
+++ b/lib/AppInfo/BootstrapSingleton.php
@@ -26,6 +26,7 @@ namespace OCA\Mail\AppInfo;
use OCA\Mail\Contracts\IAttachmentService;
use OCA\Mail\Contracts\IAvatarService;
use OCA\Mail\Contracts\IMailManager;
+use OCA\Mail\Contracts\IMailSearch;
use OCA\Mail\Contracts\IMailTransmission;
use OCA\Mail\Contracts\IUserPreferences;
use OCA\Mail\Events\BeforeMessageDeletedEvent;
@@ -44,6 +45,7 @@ use OCA\Mail\Service\AvatarService;
use OCA\Mail\Service\Group\IGroupService;
use OCA\Mail\Service\Group\NextcloudGroupService;
use OCA\Mail\Service\MailManager;
+use OCA\Mail\Service\MailSearch;
use OCA\Mail\Service\MailTransmission;
use OCA\Mail\Service\UserPreferenceSevice;
use OCP\AppFramework\IAppContainer;
@@ -92,6 +94,7 @@ class BootstrapSingleton {
$container->registerAlias(IAvatarService::class, AvatarService::class);
$container->registerAlias(IAttachmentService::class, AttachmentService::class);
$container->registerAlias(IMailManager::class, MailManager::class);
+ $container->registerAlias(IMailSearch::class, MailSearch::class);
$container->registerAlias(IMailTransmission::class, MailTransmission::class);
$container->registerAlias(IUserPreferences::class, UserPreferenceSevice::class);