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

getServer() instead server

This commit is contained in:
Tobia De Koninck 2014-05-08 14:25:47 +02:00
parent 0a035175bb
commit f64ca8af7c

View File

@ -80,7 +80,7 @@ class Dispatcher extends MainApp {
}); });
$this->container->registerService('GroupController', function(IAppContainer $container) use($appName, $app) { $this->container->registerService('GroupController', function(IAppContainer $container) use($appName, $app) {
$request = $container->query('Request'); $request = $container->query('Request');
$tags = $container->server->getTagManager()->load('contact'); $tags = $container->getServer()->getTagManager()->load('contact');
return new GroupController($appName, $request, $app, $tags); return new GroupController($appName, $request, $app, $tags);
}); });
$this->container->registerService('ContactController', function(IAppContainer $container) use($appName, $app) { $this->container->registerService('ContactController', function(IAppContainer $container) use($appName, $app) {