aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-21 12:21:29 +0200
committerprovokateurin <kate@provokateurin.de>2024-10-28 08:02:42 +0100
commitbb7841998bc27ccddbd92c8c70302431baa39440 (patch)
tree02b3222682c4322c91aac42044a895fa36464460 /apps/dav
parente6c11e1be09a13b13df0371b2cff56656c93d4da (diff)
downloadnextcloud-server-bb7841998bc27ccddbd92c8c70302431baa39440.tar.gz
nextcloud-server-bb7841998bc27ccddbd92c8c70302431baa39440.zip
fix(dav): Cleanup view-only checkfix/dav/view-only-check
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/dav')
-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 d53a74923fe..4c3b49a45b0 100644
--- a/apps/dav/lib/DAV/ViewOnlyPlugin.php
+++ b/apps/dav/lib/DAV/ViewOnlyPlugin.php
@@ -44,6 +44,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);
}
/**