summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-12-15 16:59:46 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-01-02 15:02:18 +0100
commitdb3c918adb1aab5e493e2574505b4d87a112081c (patch)
treebeeae15a559f90c5d93c5d57fbe0eed69590e4ad /apps/dav/appinfo
parent3c34b8577c7f773bd697512b734062913940a3fd (diff)
downloadnextcloud-server-db3c918adb1aab5e493e2574505b4d87a112081c.tar.gz
nextcloud-server-db3c918adb1aab5e493e2574505b4d87a112081c.zip
Fix legacy caldav endpoints
* CaldavBackend is now endpoint aware (use old style principals on old endpoint and new onces on new). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/caldav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index 2708f6f39aa..f524c47a821 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -49,7 +49,7 @@ $db = \OC::$server->getDatabaseConnection();
$userManager = \OC::$server->getUserManager();
$random = \OC::$server->getSecureRandom();
$dispatcher = \OC::$server->getEventDispatcher();
-$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, $random, $dispatcher);
+$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, $random, $dispatcher, true);
$debugging = \OC::$server->getConfig()->getSystemValue('debug', false);