Core is also a special app
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
48c34522ed
commit
92f50c7d87
1 changed files with 2 additions and 0 deletions
|
@ -386,6 +386,8 @@ class DIContainer extends SimpleContainer implements IAppContainer {
|
|||
}
|
||||
} else if ($this['AppName'] === 'settings' && strpos($name, 'OC\\Settings\\') === 0) {
|
||||
return parent::query($name);
|
||||
} else if ($this['AppName'] === 'core' && strpos($name, 'OC\\Core\\') === 0) {
|
||||
return parent::query($name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue