diff options
author | Joas Schilling <coding@schilljs.com> | 2016-08-18 15:14:04 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-24 08:50:25 +0200 |
commit | 3fbb5de74fcdc5cefc88b05a11a8efc66ea2f565 (patch) | |
tree | 7cac5241f71944dfeb434c2eb7e4169575982d1d /apps/dav/lib/RootCollection.php | |
parent | 53182fb780dbec9ac98f1e6f137201c6348a99cc (diff) | |
download | nextcloud-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.php | 4 |
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; |