aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r--apps/dav/lib/Server.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index 407e7e28e4f..b93f3e6390a 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -164,6 +164,9 @@ class Server {
$this->server->addPlugin(new CopyEtagHeaderPlugin());
+ // allow setup of additional plugins
+ $dispatcher->dispatch('OCA\DAV\Connector\Sabre::addPlugin', $event);
+
// Some WebDAV clients do require Class 2 WebDAV support (locking), since
// we do not provide locking we emulate it using a fake locking plugin.
if($request->isUserAgent([