mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-02 14:24:10 +01:00
getServer() instead server
This commit is contained in:
parent
0a035175bb
commit
f64ca8af7c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user