diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 14:21:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 14:21:31 +0100 |
commit | 31435552566833f5c5c354f5a5b611d5a6208a68 (patch) | |
tree | 4ab2743b836185874a4270e140280389e4390215 /apps/dav/appinfo/app.php | |
parent | c1d8a03662dcbf0f82e4ee6feb8cceadf399ae93 (diff) | |
parent | 56c3686ad621167d7d834c9f0be0137c3c533721 (diff) | |
download | nextcloud-server-31435552566833f5c5c354f5a5b611d5a6208a68.tar.gz nextcloud-server-31435552566833f5c5c354f5a5b611d5a6208a68.zip |
Merge pull request #21613 from owncloud/dav-fix-constructor
fix principal constructor for dav
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"); |