summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2019-11-26 16:37:57 +0100
committerGeorg Ehrke <developer@georgehrke.com>2019-12-03 09:44:07 +0100
commitc3748cfee35e0c8122ea8fa73d452e7796f1a0e5 (patch)
treed5d88b3348495429cd50b74704ab1555ac0e3220 /apps/dav/lib/Command
parent9fce87b2df43debdb2dc76c70b9af0d980535d3c (diff)
downloadnextcloud-server-c3748cfee35e0c8122ea8fa73d452e7796f1a0e5.tar.gz
nextcloud-server-c3748cfee35e0c8122ea8fa73d452e7796f1a0e5.zip
respect shareapi_allow_share_dialog_user_enumeration in Principal backend for Sabre/DAV
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 c6bfffb2425..1efe4202368 100644
--- a/apps/dav/lib/Command/CreateCalendar.php
+++ b/apps/dav/lib/Command/CreateCalendar.php
@@ -81,7 +81,8 @@ class CreateCalendar extends Command {
\OC::$server->getShareManager(),
\OC::$server->getUserSession(),
\OC::$server->getAppManager(),
- \OC::$server->query(ProxyMapper::class)
+ \OC::$server->query(ProxyMapper::class),
+ \OC::$server->getConfig()
);
$random = \OC::$server->getSecureRandom();
$logger = \OC::$server->getLogger();