mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Do DI on registered middleware as well
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
f7319e139d
commit
098ab7af4b
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
|
|||
);
|
||||
|
||||
foreach($this->middleWares as $middleWare) {
|
||||
$dispatcher->registerMiddleware($c[$middleWare]);
|
||||
$dispatcher->registerMiddleware($c->query($middleWare));
|
||||
}
|
||||
|
||||
$dispatcher->registerMiddleware(
|
||||
|
|
|
|||
Loading…
Reference in a new issue