From: Roeland Jago Douma Date: Tue, 21 Mar 2017 09:42:33 +0000 (+0100) Subject: Core is also a special app X-Git-Tag: v12.0.0beta1~355^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=92f50c7d8775407907dedde69f920b33bab6dd58;p=nextcloud-server.git Core is also a special app Signed-off-by: Roeland Jago Douma --- 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); } }