aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-12-16 13:38:38 +0100
committerGitHub <noreply@github.com>2019-12-16 13:38:38 +0100
commit8d7baaff7494194f2a8e0fe8d9baf981d15d5a76 (patch)
tree9c163b7e5ee2a0fe2d68483f56afb06b7878217b /apps/dav/appinfo
parentfaf58e4cacf6475110e32c7e5c8f37971b641b1a (diff)
parent1593322397c02c84976657faac9d134d561565a0 (diff)
downloadnextcloud-server-8d7baaff7494194f2a8e0fe8d9baf981d15d5a76.tar.gz
nextcloud-server-8d7baaff7494194f2a8e0fe8d9baf981d15d5a76.zip
Merge pull request #18061 from nextcloud/bugfix/noid/dav-plugin-old
Load apps dav plugins on the old webdav route
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/publicwebdav.php3
-rw-r--r--apps/dav/appinfo/v1/webdav.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php
index 1fe5d57b2a0..03bd25b0fce 100644
--- a/apps/dav/appinfo/v1/publicwebdav.php
+++ b/apps/dav/appinfo/v1/publicwebdav.php
@@ -52,7 +52,8 @@ $serverFactory = new OCA\DAV\Connector\Sabre\ServerFactory(
\OC::$server->getMountManager(),
\OC::$server->getTagManager(),
\OC::$server->getRequest(),
- \OC::$server->getPreviewManager()
+ \OC::$server->getPreviewManager(),
+ \OC::$server->getEventDispatcher()
);
$requestUri = \OC::$server->getRequest()->getRequestUri();
diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php
index e1f85e63b26..605ae1a0edb 100644
--- a/apps/dav/appinfo/v1/webdav.php
+++ b/apps/dav/appinfo/v1/webdav.php
@@ -44,7 +44,8 @@ $serverFactory = new \OCA\DAV\Connector\Sabre\ServerFactory(
\OC::$server->getMountManager(),
\OC::$server->getTagManager(),
\OC::$server->getRequest(),
- \OC::$server->getPreviewManager()
+ \OC::$server->getPreviewManager(),
+ \OC::$server->getEventDispatcher()
);
// Backends