aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-22 10:02:03 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-22 10:02:03 +0200
commit8abf786af9b56b6a1321f80ea21c065f2566d040 (patch)
tree8b7e90a9d46172a53382f319e57523f9f80e3ec3 /lib
parentd16b8c03e9060f74161b4996448eb90a25dad1c7 (diff)
parentec274ad40b8d8a04d2a5085ee6944cecaf078b66 (diff)
downloadnextcloud-server-8abf786af9b56b6a1321f80ea21c065f2566d040.tar.gz
nextcloud-server-8abf786af9b56b6a1321f80ea21c065f2566d040.zip
Merge pull request #10499 from owncloud/mkcol-headers-afterbind
Use afterBind to send fileId header for files and directories
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/filesplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/filesplugin.php b/lib/private/connector/sabre/filesplugin.php
index 7f369d0e2e1..37798d8b162 100644
--- a/lib/private/connector/sabre/filesplugin.php
+++ b/lib/private/connector/sabre/filesplugin.php
@@ -42,7 +42,7 @@ class OC_Connector_Sabre_FilesPlugin extends \Sabre\DAV\ServerPlugin
$this->server = $server;
$this->server->subscribeEvent('beforeGetProperties', array($this, 'beforeGetProperties'));
- $this->server->subscribeEvent('afterCreateFile', array($this, 'sendFileIdHeader'));
+ $this->server->subscribeEvent('afterBind', array($this, 'sendFileIdHeader'));
$this->server->subscribeEvent('afterWriteContent', array($this, 'sendFileIdHeader'));
}