fix principal constructor for dav

This commit is contained in:
Robin Appelman 2016-01-11 13:36:26 +01:00
parent df2abda814
commit 56c3686ad6
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ $cm->register(function() use ($cm) {
$db = \OC::$server->getDatabaseConnection();
$userId = \OC::$server->getUserSession()->getUser()->getUID();
$principal = new \OCA\DAV\Connector\Sabre\Principal(
\OC::$server->getConfig(),
\OC::$server->getUserManager()
);
$cardDav = new \OCA\DAV\CardDAV\CardDavBackend($db, $principal, \OC::$server->getLogger());