Core is also a special app

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-03-21 10:42:33 +01:00
parent 48c34522ed
commit 92f50c7d87
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}