From 367ca563b429e9a93326f960e14863fe05ecec35 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 22 May 2018 15:09:21 +0200 Subject: allow admins to override FreeBusy capabilities without modifying ShareAPI capabilities Signed-off-by: Georg Ehrke --- apps/dav/lib/Command/CreateCalendar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/dav/lib/Command') 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(); -- cgit v1.2.3