diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-04-22 23:21:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 23:21:22 +0300 |
commit | 8c5bb22bc1152696e78d662c458a4d03d20de350 (patch) | |
tree | d17c99d315a8fa55397a8fb01e15a5ac55594e3c | |
parent | d0a57a33a9900e26a0f400a17503d388e49cf932 (diff) | |
parent | 4ee56689a8451834a7160f75be3f9d88dd56c312 (diff) |
Merge pull request #20576 from nextcloud/fix/dav/oc-etag
Make sure that OC-ETag is set again
-rw-r--r-- | apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php | 2 |
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']); } |