aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-01 12:00:56 +0200
committerGitHub <noreply@github.com>2018-06-01 12:00:56 +0200
commitc3fc789b2cad0b065647421a85b7d1d04fca03aa (patch)
tree4c0da7230cf6505e6b2caab417fc724121d16e79 /apps/dav/lib/Command
parentd3fceb9b83dc3f826b91d9ebcad9bbb74153e072 (diff)
parent367ca563b429e9a93326f960e14863fe05ecec35 (diff)
downloadnextcloud-server-c3fc789b2cad0b065647421a85b7d1d04fca03aa.tar.gz
nextcloud-server-c3fc789b2cad0b065647421a85b7d1d04fca03aa.zip
Merge pull request #9550 from nextcloud/bugfix/noid/override_freebusy_sharing_rules
allow admins to disable FreeBusy without modifying ShareAPI capabilities
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();