Adjust ctor call

This commit is contained in:
Thomas Müller 2016-01-12 14:30:53 +01:00
parent f772572249
commit 3f041a5b4b
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ class Application extends App {
$db = $c->getServer()->getDatabaseConnection();
$logger = $c->getServer()->getLogger();
$principal = new \OCA\DAV\Connector\Sabre\Principal(
$c->getServer()->getUserManager()
$c->getServer()->getUserManager(),
$c->getServer()->getGroupManager()
);
return new \OCA\DAV\CardDAV\CardDavBackend($db, $principal, $logger);
});