aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2024-02-13 14:46:04 +0100
committerLouis <louis@chmn.me>2024-02-21 21:49:23 +0100
commit0e07be4b88f48e3933461a1667cf52f3882ab4a6 (patch)
tree4e4f75d7aada7a866d929d37a8052cd7e56ce865 /apps/dav/lib/Connector
parent4b06b5994dcf9e3993f197147bbd82dca7b2b860 (diff)
downloadnextcloud-server-0e07be4b88f48e3933461a1667cf52f3882ab4a6.tar.gz
nextcloud-server-0e07be4b88f48e3933461a1667cf52f3882ab4a6.zip
Check share attributes when downloading versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r--apps/dav/lib/Connector/Sabre/ServerFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php
index 828977fd812..113cd8a8c23 100644
--- a/apps/dav/lib/Connector/Sabre/ServerFactory.php
+++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php
@@ -161,7 +161,7 @@ class ServerFactory {
// Allow view-only plugin for webdav requests
$server->addPlugin(new ViewOnlyPlugin(
- $this->logger
+ $userFolder,
));
if ($this->userSession->isLoggedIn()) {