summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/app.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-11 14:21:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-11 14:21:31 +0100
commit31435552566833f5c5c354f5a5b611d5a6208a68 (patch)
tree4ab2743b836185874a4270e140280389e4390215 /apps/dav/appinfo/app.php
parentc1d8a03662dcbf0f82e4ee6feb8cceadf399ae93 (diff)
parent56c3686ad621167d7d834c9f0be0137c3c533721 (diff)
downloadnextcloud-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.php3
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");