summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-02 16:00:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-02 18:10:07 +0200
commitf1444eac5d6cf64f0700732b47f53919e9ff7c1a (patch)
tree6fbaadd7d94f05557cc5c4d25883fa5dfe72ed67 /apps/dav/lib/Server.php
parent6578a934636fa0cd6a94d2738b9c2fc0cd4cca30 (diff)
downloadnextcloud-server-f1444eac5d6cf64f0700732b47f53919e9ff7c1a.tar.gz
nextcloud-server-f1444eac5d6cf64f0700732b47f53919e9ff7c1a.zip
Export the CalDAV trash bin retention duration as property
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r--apps/dav/lib/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index 0999da3dbe1..50c64380184 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -165,7 +165,7 @@ class Server {
$this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class));
}
- $this->server->addPlugin(new \OCA\DAV\CalDAV\Trashbin\Plugin($request));
+ $this->server->addPlugin(\OC::$server->get(\OCA\DAV\CalDAV\Trashbin\Plugin::class));
$this->server->addPlugin(new \OCA\DAV\CalDAV\WebcalCaching\Plugin($request));
$this->server->addPlugin(new \Sabre\CalDAV\Subscriptions\Plugin());