aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-04 14:47:49 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-04 14:47:49 +0100
commit2cf4e144ccd4f411ad874cc8c200b0347557ffc9 (patch)
tree765fb9669d28bfa88c1814d0dd9f84a1830decff /lib
parentebc52300e752c68b3f6dcc822894ad1ab85f0999 (diff)
downloadnextcloud-server-2cf4e144ccd4f411ad874cc8c200b0347557ffc9.tar.gz
nextcloud-server-2cf4e144ccd4f411ad874cc8c200b0347557ffc9.zip
Lookup the App name instead of OCA
Diffstat (limited to 'lib')
-rw-r--r--lib/private/servercontainer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/servercontainer.php b/lib/private/servercontainer.php
index 856e3f9b495..385700957a1 100644
--- a/lib/private/servercontainer.php
+++ b/lib/private/servercontainer.php
@@ -75,7 +75,7 @@ class ServerContainer extends SimpleContainer {
// the apps container first.
if (strpos($name, 'OCA\\') === 0 && substr_count($name, '\\') >= 2) {
$segments = explode('\\', $name);
- $appContainer = $this->getAppContainer(strtolower($segments[0]));
+ $appContainer = $this->getAppContainer(strtolower($segments[1]));
try {
return $appContainer->query($name);
} catch (QueryException $e) {