Use proper namespace
IAppManager lives in OCP\App and not in OCP. Fixes https://github.com/owncloud/core/issues/13710
This commit is contained in:
parent
3478634df1
commit
bedf358b40
|
@ -65,7 +65,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
|
||||||
return $this->getServer()->getAppConfig();
|
return $this->getServer()->getAppConfig();
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->registerService('OCP\\IAppManager', function($c) {
|
$this->registerService('OCP\\App\\IAppManager', function($c) {
|
||||||
return $this->getServer()->getAppManager();
|
return $this->getServer()->getAppManager();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue