]> source.dussan.org Git - nextcloud-server.git/commitdiff
Not needed in the DIContainer anymore
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Apr 2017 11:37:39 +0000 (13:37 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Apr 2017 11:37:39 +0000 (13:37 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/AppFramework/DependencyInjection/DIContainer.php

index 45a971f125722914b4d94af3e3ebd2489909ccd7..689c82c28584a21e3aa01f281f179be3f0a2a274 100644 (file)
@@ -57,7 +57,6 @@ use OCP\IRequest;
 use OCP\IServerContainer;
 use OCP\IUserSession;
 use OCP\RichObjectStrings\IValidator;
-use OCP\Share\IShareHelper;
 use OCP\Util;
 
 class DIContainer extends SimpleContainer implements IAppContainer {
@@ -170,11 +169,6 @@ class DIContainer extends SimpleContainer implements IAppContainer {
                        );
                });
 
-               $this->registerService(IShareHelper::class, function (SimpleContainer $c) {
-                       return $c->query(IShareHelper::class);
-               });
-
-
                /**
                 * App Framework APIs
                 */