summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-03-21 10:42:33 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-21 10:42:33 +0100
commit92f50c7d8775407907dedde69f920b33bab6dd58 (patch)
treec95a46296436fdf6802f27b5fb5348ce61c0671b /lib/private/AppFramework
parent48c34522eda4023f27c4eaabdc28f28bc00c9772 (diff)
downloadnextcloud-server-92f50c7d8775407907dedde69f920b33bab6dd58.tar.gz
nextcloud-server-92f50c7d8775407907dedde69f920b33bab6dd58.zip
Core is also a special app
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index bbcfa7be24b..06825d2dd5e 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -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);
}
}