diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-25 17:15:40 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-26 12:15:11 +0100 |
commit | cc8c38e8ba55c5a64587951d2ef87ab1e652835d (patch) | |
tree | 45b4690a77604db6d28fd0773c9906b3f88b622c /apps/dav/lib/rootcollection.php | |
parent | b799e42b4e4f9ec1dd1fa9b93dd036581fbf2e92 (diff) | |
download | nextcloud-server-cc8c38e8ba55c5a64587951d2ef87ab1e652835d.tar.gz nextcloud-server-cc8c38e8ba55c5a64587951d2ef87ab1e652835d.zip |
Fix principal collection for CavDAVTester
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 c0a37a1de9d..3e349fa31c9 100644 --- a/apps/dav/lib/rootcollection.php +++ b/apps/dav/lib/rootcollection.php @@ -28,12 +28,12 @@ class RootCollection extends SimpleCollection { $filesCollection = new Files\RootCollection($principalBackend, 'principals/users'); $filesCollection->disableListing = $disableListing; $caldavBackend = new CalDavBackend($db); - $calendarRoot = new CalendarRoot($principalBackend, $caldavBackend); + $calendarRoot = new CalendarRoot($principalBackend, $caldavBackend, 'principals/users'); $calendarRoot->disableListing = $disableListing; $cardDavBackend = new CardDavBackend(\OC::$server->getDatabaseConnection(), $principalBackend); - $addressBookRoot = new AddressBookRoot($principalBackend, $cardDavBackend); + $addressBookRoot = new AddressBookRoot($principalBackend, $cardDavBackend, 'principals/users'); $addressBookRoot->disableListing = $disableListing; $children = [ |