aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
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/Command
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/Command')
-rw-r--r--apps/dav/lib/Command/CreateCalendar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php
index 1cbd7b60944..45dd9ba941a 100644
--- a/apps/dav/lib/Command/CreateCalendar.php
+++ b/apps/dav/lib/Command/CreateCalendar.php
@@ -77,7 +77,8 @@ class CreateCalendar extends Command {
$this->userManager,
$this->groupManager,
\OC::$server->getShareManager(),
- \OC::$server->getUserSession()
+ \OC::$server->getUserSession(),
+ \OC::$server->getConfig()
);
$random = \OC::$server->getSecureRandom();
$logger = \OC::$server->getLogger();