1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Remove wrong argument to HttpMiddleware ctor

This commit is contained in:
Thomas Tanghus 2014-03-10 22:56:03 +01:00
parent c184fc5973
commit cbb7b0db8f

View File

@ -32,7 +32,7 @@ class DIContainer extends BaseContainer {
parent::__construct('contacts');
$this['HttpMiddleware'] = $this->share(function($c){
return new HttpMiddleware($c['API']);
return new HttpMiddleware();
});
$this['MiddlewareDispatcher'] = $this->share(function($c){