mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Call ctors properly
This commit is contained in:
parent
992ccc899a
commit
1448215055
1 changed files with 2 additions and 1 deletions
|
|
@ -27,12 +27,13 @@ use OCA\DAV\Command\SyncSystemAddressBook;
|
|||
$config = \OC::$server->getConfig();
|
||||
$dbConnection = \OC::$server->getDatabaseConnection();
|
||||
$userManager = OC::$server->getUserManager();
|
||||
$groupManager = OC::$server->getGroupManager();
|
||||
$config = \OC::$server->getConfig();
|
||||
$logger = \OC::$server->getLogger();
|
||||
|
||||
$app = new Application();
|
||||
|
||||
/** @var Symfony\Component\Console\Application $application */
|
||||
$application->add(new CreateAddressBook($userManager, $dbConnection, $config, $logger));
|
||||
$application->add(new CreateAddressBook($userManager, $groupManager, $dbConnection, $logger));
|
||||
$application->add(new CreateCalendar($userManager, $dbConnection));
|
||||
$application->add(new SyncSystemAddressBook($app->getSyncService()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue