diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-13 17:11:25 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-26 10:35:37 +0200 |
commit | b3e7865d9b3a88647107220fd9ac08f0d80ae1cd (patch) | |
tree | c981b013e63d97977e8654c659a60ffc233ba979 /apps/dav/appinfo/v2 | |
parent | 5c6d3b4f41d420e2ea84ba71c8173dcf931a77c6 (diff) | |
download | nextcloud-server-b3e7865d9b3a88647107220fd9ac08f0d80ae1cd.tar.gz nextcloud-server-b3e7865d9b3a88647107220fd9ac08f0d80ae1cd.zip |
Dav endpoint returns proper data
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/appinfo/v2')
-rw-r--r-- | apps/dav/appinfo/v2/direct.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v2/direct.php b/apps/dav/appinfo/v2/direct.php index 4ee22398c7e..633d69a3c3d 100644 --- a/apps/dav/appinfo/v2/direct.php +++ b/apps/dav/appinfo/v2/direct.php @@ -34,6 +34,11 @@ ignore_user_abort(true); $requestUri = \OC::$server->getRequest()->getRequestUri(); $serverFactory = new \OCA\DAV\Direct\ServerFactory(\OC::$server->getConfig()); -$server = $serverFactory->createServer($baseuri, $requestUri); +$server = $serverFactory->createServer( + $baseuri, + $requestUri, + \OC::$server->getRootFolder(), + \OC::$server->query(\OCA\DAV\Db\DirectMapper::class) +); $server->exec(); |