]> source.dussan.org Git - nextcloud-server.git/commitdiff
Core is also a special app 3901/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 21 Mar 2017 09:42:33 +0000 (10:42 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 21 Mar 2017 09:42:33 +0000 (10:42 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/AppFramework/DependencyInjection/DIContainer.php

index bbcfa7be24b3f8a4c6625a2a23273de38ab3dd5e..06825d2dd5e2edab1668f2b346514964009adb10 100644 (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);
                        }
                }