summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/rootcollection.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-04 13:38:32 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-12 14:24:47 +0100
commit90d9834c8c0d3ae10cc754595d729821584e76a9 (patch)
tree7a50a81c630c835e131e9da3aaf2ac50aad2c88b /apps/dav/lib/rootcollection.php
parentdbddbb634bcb6df346988b85cb2847e76e22e632 (diff)
downloadnextcloud-server-90d9834c8c0d3ae10cc754595d729821584e76a9.tar.gz
nextcloud-server-90d9834c8c0d3ae10cc754595d729821584e76a9.zip
Decouple federation and dav app
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 2261712200a..053ff47f977 100644
--- a/apps/dav/lib/rootcollection.php
+++ b/apps/dav/lib/rootcollection.php
@@ -46,11 +46,11 @@ class RootCollection extends SimpleCollection {
\OC::$server->getSystemTagObjectMapper()
);
- $usersCardDavBackend = new CardDavBackend($db, $userPrincipalBackend, \OC::$server->getLogger());
+ $usersCardDavBackend = new CardDavBackend($db, $userPrincipalBackend);
$usersAddressBookRoot = new AddressBookRoot($userPrincipalBackend, $usersCardDavBackend, 'principals/users');
$usersAddressBookRoot->disableListing = $disableListing;
- $systemCardDavBackend = new CardDavBackend($db, $userPrincipalBackend, \OC::$server->getLogger());
+ $systemCardDavBackend = new CardDavBackend($db, $userPrincipalBackend);
$systemAddressBookRoot = new AddressBookRoot(new SystemPrincipalBackend(), $systemCardDavBackend, 'principals/system');
$systemAddressBookRoot->disableListing = $disableListing;