From aef95b9b7d6493f933652521647f8d0d5bb81005 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 13 Apr 2017 13:37:39 +0200 Subject: [PATCH] Not needed in the DIContainer anymore Signed-off-by: Roeland Jago Douma --- .../AppFramework/DependencyInjection/DIContainer.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 45a971f125..689c82c285 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -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 */