From 92f50c7d8775407907dedde69f920b33bab6dd58 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 21 Mar 2017 10:42:33 +0100 Subject: [PATCH] Core is also a special app Signed-off-by: Roeland Jago Douma --- lib/private/AppFramework/DependencyInjection/DIContainer.php | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- 2.39.5