summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
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/appinfo
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/appinfo')
-rw-r--r--apps/dav/appinfo/v1/caldav.php1
-rw-r--r--apps/dav/appinfo/v1/carddav.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index 8116453b11d..f1086cc62b0 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -48,6 +48,7 @@ $principalBackend = new Principal(
\OC::$server->getUserSession(),
\OC::$server->getAppManager(),
\OC::$server->query(\OCA\DAV\CalDAV\Proxy\ProxyMapper::class),
+ \OC::$server->getConfig(),
'principals/'
);
$db = \OC::$server->getDatabaseConnection();
diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php
index 40ee12f1944..8c6b6fb2016 100644
--- a/apps/dav/appinfo/v1/carddav.php
+++ b/apps/dav/appinfo/v1/carddav.php
@@ -49,6 +49,7 @@ $principalBackend = new Principal(
\OC::$server->getUserSession(),
\OC::$server->getAppManager(),
\OC::$server->query(\OCA\DAV\CalDAV\Proxy\ProxyMapper::class),
+ \OC::$server->getConfig(),
'principals/'
);
$db = \OC::$server->getDatabaseConnection();