diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-23 10:04:22 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-23 10:12:49 +0300 |
commit | 858da6175a56ffcf4e23197816c717f8a56e7de0 (patch) | |
tree | 4862e367dd69936a811ed8f678982ee5f61e8c11 /lib/AppInfo | |
parent | 2bf7d9121b39395ebdcd54023b25d50d454d033f (diff) |
Use all available group services
When we just had one implementation of a group service we could just
inject the implementation when the interface is used. However, as
another implementation was added, it is necessary to explicitly require
the implementations to be able to use all of them.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r-- | lib/AppInfo/BootstrapSingleton.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/AppInfo/BootstrapSingleton.php b/lib/AppInfo/BootstrapSingleton.php index 1e605b794..cc94508a1 100644 --- a/lib/AppInfo/BootstrapSingleton.php +++ b/lib/AppInfo/BootstrapSingleton.php @@ -49,9 +49,6 @@ use OCA\Mail\Listener\SaveSentMessageListener; use OCA\Mail\Listener\TrashMailboxCreatorListener; use OCA\Mail\Service\Attachment\AttachmentService; use OCA\Mail\Service\AvatarService; -use OCA\Mail\Service\Group\IGroupService; -use OCA\Mail\Service\Group\NextcloudGroupService; -use OCA\Mail\Service\Group\ContactsGroupService; use OCA\Mail\Service\MailManager; use OCA\Mail\Service\Search\MailSearch; use OCA\Mail\Service\MailTransmission; @@ -117,9 +114,6 @@ class BootstrapSingleton { $container->registerMiddleWare('ErrorMiddleware'); $container->registerAlias('ProvisioningMiddleware', ProvisioningMiddleware::class); $container->registerMiddleWare('ProvisioningMiddleware'); - - $container->registerAlias(IGroupService::class, NextcloudGroupService::class); - $container->registerAlias(IGroupService::class, ContactsGroupService::class); } private function registerEvents(IAppContainer $container): void { |