Merge pull request #20576 from nextcloud/fix/dav/oc-etag

Make sure that OC-ETag is set again
This commit is contained in:
Roeland Jago Douma 2020-04-22 22:21:22 +02:00 committed by GitHub
commit 8c5bb22bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}