]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use proper namespace
authorLukas Reschke <lukas@owncloud.com>
Tue, 27 Jan 2015 16:34:25 +0000 (17:34 +0100)
committerLukas Reschke <lukas@owncloud.com>
Tue, 27 Jan 2015 16:34:25 +0000 (17:34 +0100)
IAppManager lives in OCP\App and not in OCP.

Fixes https://github.com/owncloud/core/issues/13710

lib/private/appframework/dependencyinjection/dicontainer.php

index 5858d992d5603d2e4d2a1272da921df650e6e27e..4229b251e294d480f2d200f3a5eeb4c2fd09e8f5 100644 (file)
@@ -65,7 +65,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
                        return $this->getServer()->getAppConfig();
                });
 
-               $this->registerService('OCP\\IAppManager', function($c) {
+               $this->registerService('OCP\\App\\IAppManager', function($c) {
                        return $this->getServer()->getAppManager();
                });