From: Roeland Jago Douma Date: Thu, 13 Apr 2017 11:37:39 +0000 (+0200) Subject: Not needed in the DIContainer anymore X-Git-Tag: v12.0.0beta1~146^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aef95b9b7d6493f933652521647f8d0d5bb81005;p=nextcloud-server.git Not needed in the DIContainer anymore Signed-off-by: Roeland Jago Douma --- diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 45a971f1257..689c82c2858 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 */