diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-02 16:00:29 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-02 18:10:07 +0200 |
commit | f1444eac5d6cf64f0700732b47f53919e9ff7c1a (patch) | |
tree | 6fbaadd7d94f05557cc5c4d25883fa5dfe72ed67 /apps/dav/lib/Server.php | |
parent | 6578a934636fa0cd6a94d2738b9c2fc0cd4cca30 (diff) | |
download | nextcloud-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.php | 2 |
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()); |