diff options
Diffstat (limited to 'apps/dav/appinfo/app.php')
-rw-r--r-- | apps/dav/appinfo/app.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/appinfo/app.php b/apps/dav/appinfo/app.php index 950754ee941..3651a5034c5 100644 --- a/apps/dav/appinfo/app.php +++ b/apps/dav/appinfo/app.php @@ -24,8 +24,7 @@ $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() + \OC::$server->getUserManager() ); $cardDav = new \OCA\DAV\CardDAV\CardDavBackend($db, $principal, \OC::$server->getLogger()); $addressBooks = $cardDav->getAddressBooksForUser("principals/$userId"); |