mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
more getServer() instead server
This commit is contained in:
parent
f64ca8af7c
commit
7856fc22ef
@ -89,7 +89,7 @@ class Dispatcher extends MainApp {
|
||||
});
|
||||
$this->container->registerService('ContactPhotoController', function(IAppContainer $container) use($appName, $app) {
|
||||
$request = $container->query('Request');
|
||||
$cache = $container->server->getCache();
|
||||
$cache = $container->getServer()->getCache();
|
||||
return new ContactPhotoController($appName, $request, $app, $cache);
|
||||
});
|
||||
$this->container->registerService('SettingsController', function(IAppContainer $container) use($appName, $app) {
|
||||
@ -98,7 +98,7 @@ class Dispatcher extends MainApp {
|
||||
});
|
||||
$this->container->registerService('ImportController', function(IAppContainer $container) use($appName, $app) {
|
||||
$request = $container->query('Request');
|
||||
$cache = $container->server->getCache();
|
||||
$cache = $container->getServer()->getCache();
|
||||
return new ImportController($appName, $request, $app, $cache);
|
||||
});
|
||||
$this->container->registerService('ExportController', function(IAppContainer $container) use($appName, $app) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user