Fix missing argument 2 for Settings classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
bcddca9a64
commit
a411adee6c
|
@ -121,7 +121,7 @@ class ServerContainer extends SimpleContainer {
|
||||||
} else if (strpos($name, 'OC\\Settings\\') === 0 && substr_count($name, '\\') >= 3) {
|
} else if (strpos($name, 'OC\\Settings\\') === 0 && substr_count($name, '\\') >= 3) {
|
||||||
$segments = explode('\\', $name);
|
$segments = explode('\\', $name);
|
||||||
try {
|
try {
|
||||||
$appContainer = $this->getAppContainer(strtolower($segments[1]));
|
$appContainer = $this->getAppContainer(strtolower($segments[1]), $segments[1]);
|
||||||
return $appContainer->queryNoFallback($name);
|
return $appContainer->queryNoFallback($name);
|
||||||
} catch (QueryException $e) {
|
} catch (QueryException $e) {
|
||||||
// Didn't find the service or the respective app container,
|
// Didn't find the service or the respective app container,
|
||||||
|
|
Loading…
Reference in New Issue