]> source.dussan.org Git - nextcloud-server.git/commitdiff
Call ctors properly
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 11 Jan 2016 20:07:07 +0000 (21:07 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 18 Jan 2016 21:14:51 +0000 (22:14 +0100)
apps/dav/appinfo/register_command.php

index 3152712b7c0be6e47def0cd2de8594a9646a2d57..8ef1979aa08655c9743839f56f0b2f76c6cb6440 100644 (file)
@@ -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()));