summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2024-02-13 14:46:04 +0100
committerLouis Chemineau <louis@chmn.me>2024-02-21 21:47:50 +0100
commit5606cadae7cae53c0a5397818a78854233e80bc0 (patch)
treea1ae950738838d0505a357f387d1ff596ee9d8b6 /apps/dav/lib/Connector/Sabre
parent6734dea78089af8c206b4dcc5bed43e130a0c5b6 (diff)
downloadnextcloud-server-5606cadae7cae53c0a5397818a78854233e80bc0.tar.gz
nextcloud-server-5606cadae7cae53c0a5397818a78854233e80bc0.zip
Check share attributes when downloading versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre')
-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 4c57f3412e3..755d13f8371 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()) {