summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/RootCollection.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-05-22 15:09:21 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-05-22 19:16:26 +0200
commit367ca563b429e9a93326f960e14863fe05ecec35 (patch)
tree9b8fe85951f489daa0c109b52d5a6abbda9cc56d /apps/dav/lib/RootCollection.php
parent57d4a16cfbbab9087925484207826446b14163b0 (diff)
downloadnextcloud-server-367ca563b429e9a93326f960e14863fe05ecec35.tar.gz
nextcloud-server-367ca563b429e9a93326f960e14863fe05ecec35.zip
allow admins to override FreeBusy capabilities without modifying ShareAPI capabilities
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r--apps/dav/lib/RootCollection.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php
index a39b8716110..b9f381b4b92 100644
--- a/apps/dav/lib/RootCollection.php
+++ b/apps/dav/lib/RootCollection.php
@@ -51,7 +51,8 @@ class RootCollection extends SimpleCollection {
$userManager,
$groupManager,
$shareManager,
- \OC::$server->getUserSession()
+ \OC::$server->getUserSession(),
+ $config
);
$groupPrincipalBackend = new GroupPrincipalBackend($groupManager);
// as soon as debug mode is enabled we allow listing of principals