summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-04-21 10:14:31 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-21 10:14:31 +0200
commit4ee56689a8451834a7160f75be3f9d88dd56c312 (patch)
tree4241c7cf302c0b5ad9cda3d36571c4f73440a1f9 /apps/dav
parentf0c1041d2ecb90ff28dcdbd72ca0425e1b9fde6b (diff)
downloadnextcloud-server-4ee56689a8451834a7160f75be3f9d88dd56c312.tar.gz
nextcloud-server-4ee56689a8451834a7160f75be3f9d88dd56c312.zip
Make sure that OC-ETag is set again
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php b/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php
index 5c1951cf7d8..f5b07454ea7 100644
--- a/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php
@@ -46,7 +46,7 @@ class CopyEtagHeaderPlugin extends \Sabre\DAV\ServerPlugin {
public function initialize(\Sabre\DAV\Server $server) {
$this->server = $server;
- $server->on('afterMethod', [$this, 'afterMethod']);
+ $server->on('afterMethod:*', [$this, 'afterMethod']);
$server->on('afterMove', [$this, 'afterMove']);
}