]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make sure that OC-ETag is set again 20576/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 21 Apr 2020 08:14:31 +0000 (10:14 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 21 Apr 2020 08:14:31 +0000 (10:14 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php

index 5c1951cf7d8a9d5236a23df411629c7e729d1de8..f5b07454ea77ea645854c86e5fe8013f1bdac431 100644 (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']);
        }