aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-21 12:21:29 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-10-28 09:26:03 +0000
commit321af53ebc2bc91c67fb565007cd01fdfbaea35c (patch)
tree9b4df8fc92b70b38c0e0d487424f2920070c7598
parentf6421177f81389e9bec5477076dc9e15fffd8517 (diff)
downloadnextcloud-server-321af53ebc2bc91c67fb565007cd01fdfbaea35c.tar.gz
nextcloud-server-321af53ebc2bc91c67fb565007cd01fdfbaea35c.zip
fix(dav): Cleanup view-only checkbackport/48917/stable30
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--apps/dav/lib/DAV/ViewOnlyPlugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/DAV/ViewOnlyPlugin.php b/apps/dav/lib/DAV/ViewOnlyPlugin.php
index b6139638aa5..df3301e2e6b 100644
--- a/apps/dav/lib/DAV/ViewOnlyPlugin.php
+++ b/apps/dav/lib/DAV/ViewOnlyPlugin.php
@@ -46,6 +46,7 @@ class ViewOnlyPlugin extends ServerPlugin {
//Sabre\DAV\CorePlugin::httpGet
$this->server->on('method:GET', [$this, 'checkViewOnly'], 90);
$this->server->on('method:COPY', [$this, 'checkViewOnly'], 90);
+ $this->server->on('method:MOVE', [$this, 'checkViewOnly'], 90);
}
/**