summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/RootCollection.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-18 15:14:04 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-24 08:50:25 +0200
commit3fbb5de74fcdc5cefc88b05a11a8efc66ea2f565 (patch)
tree7cac5241f71944dfeb434c2eb7e4169575982d1d /apps/dav/lib/RootCollection.php
parent53182fb780dbec9ac98f1e6f137201c6348a99cc (diff)
downloadnextcloud-server-3fbb5de74fcdc5cefc88b05a11a8efc66ea2f565.tar.gz
nextcloud-server-3fbb5de74fcdc5cefc88b05a11a8efc66ea2f565.zip
Better displaynames for shared address books
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r--apps/dav/lib/RootCollection.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php
index de3f7e2a857..974d08bc34f 100644
--- a/apps/dav/lib/RootCollection.php
+++ b/apps/dav/lib/RootCollection.php
@@ -83,11 +83,11 @@ class RootCollection extends SimpleCollection {
\OC::$server->getLogger()
);
- $usersCardDavBackend = new CardDavBackend($db, $userPrincipalBackend, $dispatcher);
+ $usersCardDavBackend = new CardDavBackend($db, $userPrincipalBackend, \OC::$server->getUserManager(), $dispatcher);
$usersAddressBookRoot = new AddressBookRoot($userPrincipalBackend, $usersCardDavBackend, 'principals/users');
$usersAddressBookRoot->disableListing = $disableListing;
- $systemCardDavBackend = new CardDavBackend($db, $userPrincipalBackend, $dispatcher);
+ $systemCardDavBackend = new CardDavBackend($db, $userPrincipalBackend, \OC::$server->getUserManager(), $dispatcher);
$systemAddressBookRoot = new AddressBookRoot(new SystemPrincipalBackend(), $systemCardDavBackend, 'principals/system');
$systemAddressBookRoot->disableListing = $disableListing;