Not needed in the DIContainer anymore

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-04-13 13:37:39 +02:00
parent b96297e9cc
commit aef95b9b7d
No known key found for this signature in database
GPG key ID: F941078878347C0C

View 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
*/