summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-19 22:30:55 +0200
committerJoas Schilling <coding@schilljs.com>2017-05-19 22:32:50 +0200
commita411adee6cfce713aee2a6f35b0930022018d194 (patch)
tree72bed6f204339d14f42c774ccfc2d4a1a4bb4440 /lib
parentbcddca9a64fb980019df052a99bc08fbef14b577 (diff)
downloadnextcloud-server-a411adee6cfce713aee2a6f35b0930022018d194.tar.gz
nextcloud-server-a411adee6cfce713aee2a6f35b0930022018d194.zip
Fix missing argument 2 for Settings classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
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 97a3b99d534..40e261df4d6 100644
--- a/lib/private/ServerContainer.php
+++ b/lib/private/ServerContainer.php
@@ -121,7 +121,7 @@ class ServerContainer extends SimpleContainer {
} else if (strpos($name, 'OC\\Settings\\') === 0 && substr_count($name, '\\') >= 3) {
$segments = explode('\\', $name);
try {
- $appContainer = $this->getAppContainer(strtolower($segments[1]));
+ $appContainer = $this->getAppContainer(strtolower($segments[1]), $segments[1]);
return $appContainer->queryNoFallback($name);
} catch (QueryException $e) {
// Didn't find the service or the respective app container,