summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-19 17:05:49 -0500
committerGitHub <noreply@github.com>2017-05-19 17:05:49 -0500
commitfe8c67ad232611b826d112f65f5f1f3bd1273dd3 (patch)
tree65f771334398c1fccb097a17a4dcfc0b6197af13 /lib
parentd7eb58f09d02c2048e9941e0d0d8da1740043f0f (diff)
parenta411adee6cfce713aee2a6f35b0930022018d194 (diff)
downloadnextcloud-server-fe8c67ad232611b826d112f65f5f1f3bd1273dd3.tar.gz
nextcloud-server-fe8c67ad232611b826d112f65f5f1f3bd1273dd3.zip
Merge pull request #4981 from nextcloud/fix-missing-argument-2-getAppContainer-master
Fix missing argument 2 for Settings classes
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,