Not needed in the DIContainer anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
b96297e9cc
commit
aef95b9b7d
|
@ -57,7 +57,6 @@ use OCP\IRequest;
|
||||||
use OCP\IServerContainer;
|
use OCP\IServerContainer;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use OCP\RichObjectStrings\IValidator;
|
use OCP\RichObjectStrings\IValidator;
|
||||||
use OCP\Share\IShareHelper;
|
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
|
|
||||||
class DIContainer extends SimpleContainer implements IAppContainer {
|
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
|
* App Framework APIs
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue