summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1/caldav.php
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-10 16:56:37 +0200
committerGitHub <noreply@github.com>2022-06-10 16:56:37 +0200
commit804ee11803a1fd7a5ac88793e77bd6b56a31bea0 (patch)
tree71733353d8037730c115189b29bf2a18fbf905e0 /apps/dav/appinfo/v1/caldav.php
parent5f8e1b7fb98c4d32794b76792dcb7d8fa6a6fe6a (diff)
parent190a71ecf9a39ea31c8296798a2011352b7394b2 (diff)
downloadnextcloud-server-804ee11803a1fd7a5ac88793e77bd6b56a31bea0.tar.gz
nextcloud-server-804ee11803a1fd7a5ac88793e77bd6b56a31bea0.zip
Merge pull request #31029 from nextcloud/expose-extra-emails-in-dav
Expose additional emails in {DAV:}alternate-URI-set
Diffstat (limited to 'apps/dav/appinfo/v1/caldav.php')
-rw-r--r--apps/dav/appinfo/v1/caldav.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index 1961df5f62b..1f55266a21f 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -34,6 +34,7 @@ use OCA\DAV\Connector\Sabre\Auth;
use OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin;
use OCA\DAV\Connector\Sabre\MaintenancePlugin;
use OCA\DAV\Connector\Sabre\Principal;
+use OCP\Accounts\IAccountManager;
use Psr\Log\LoggerInterface;
$authBackend = new Auth(
@@ -47,6 +48,7 @@ $authBackend = new Auth(
$principalBackend = new Principal(
\OC::$server->getUserManager(),
\OC::$server->getGroupManager(),
+ \OC::$server->get(IAccountManager::class),
\OC::$server->getShareManager(),
\OC::$server->getUserSession(),
\OC::$server->getAppManager(),