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
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php')
-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']);
}