summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/RootCollection.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-18 15:10:18 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-24 08:50:25 +0200
commit53182fb780dbec9ac98f1e6f137201c6348a99cc (patch)
treed62bb38050771d701c3ee7150efa3b09961d56a4 /apps/dav/lib/RootCollection.php
parent2f1b17d44a854221a4b3c461df80d0522ac3c8b5 (diff)
downloadnextcloud-server-53182fb780dbec9ac98f1e6f137201c6348a99cc.tar.gz
nextcloud-server-53182fb780dbec9ac98f1e6f137201c6348a99cc.zip
Better displaynames for shared calendars
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r--apps/dav/lib/RootCollection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php
index 16df85d8146..de3f7e2a857 100644
--- a/apps/dav/lib/RootCollection.php
+++ b/apps/dav/lib/RootCollection.php
@@ -59,7 +59,7 @@ class RootCollection extends SimpleCollection {
$systemPrincipals->disableListing = $disableListing;
$filesCollection = new Files\RootCollection($userPrincipalBackend, 'principals/users');
$filesCollection->disableListing = $disableListing;
- $caldavBackend = new CalDavBackend($db, $userPrincipalBackend);
+ $caldavBackend = new CalDavBackend($db, $userPrincipalBackend, \OC::$server->getUserManager());
$calendarRoot = new CalendarRoot($userPrincipalBackend, $caldavBackend, 'principals/users');
$calendarRoot->disableListing = $disableListing;