Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-22 23:21:22 +0300
committerGitHub <noreply@github.com>2020-04-22 23:21:22 +0300
commit8c5bb22bc1152696e78d662c458a4d03d20de350 (patch)
treed17c99d315a8fa55397a8fb01e15a5ac55594e3c /apps
parentd0a57a33a9900e26a0f400a17503d388e49cf932 (diff)
parent4ee56689a8451834a7160f75be3f9d88dd56c312 (diff)
Merge pull request #20576 from nextcloud/fix/dav/oc-etag
Make sure that OC-ETag is set again
Diffstat (limited to 'apps')
-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']);
}