diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 21:07:07 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-18 22:14:51 +0100 |
commit | 1448215055ddfc0c0300ac727952d4f0e904334b (patch) | |
tree | ba8f4d93d52328adeae7eefa98ed43023dacc8be | |
parent | 992ccc899a325360f6da703c490ca608a00a78d5 (diff) | |
download | nextcloud-server-1448215055ddfc0c0300ac727952d4f0e904334b.tar.gz nextcloud-server-1448215055ddfc0c0300ac727952d4f0e904334b.zip |
Call ctors properly
-rw-r--r-- | apps/dav/appinfo/register_command.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/appinfo/register_command.php b/apps/dav/appinfo/register_command.php index 3152712b7c0..8ef1979aa08 100644 --- a/apps/dav/appinfo/register_command.php +++ b/apps/dav/appinfo/register_command.php @@ -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())); |