1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Remove wrong argument to HttpMiddleware ctor

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

View File

@ -38,7 +38,7 @@ class Dispatcher extends MainApp {
public function __construct($params) { public function __construct($params) {
parent::__construct('contacts', $params); parent::__construct('contacts', $params);
$this->container = $this->getContainer(); $this->container = $this->getContainer();
$this->container->registerMiddleware(new HttpMiddleware($this->container)); $this->container->registerMiddleware(new HttpMiddleware());
$this->app = new App($this->container->query('API')->getUserId()); $this->app = new App($this->container->query('API')->getUserId());
$this->registerServices(); $this->registerServices();
} }