diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-22 10:02:03 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-22 10:02:03 +0200 |
commit | 8abf786af9b56b6a1321f80ea21c065f2566d040 (patch) | |
tree | 8b7e90a9d46172a53382f319e57523f9f80e3ec3 /lib | |
parent | d16b8c03e9060f74161b4996448eb90a25dad1c7 (diff) | |
parent | ec274ad40b8d8a04d2a5085ee6944cecaf078b66 (diff) | |
download | nextcloud-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.php | 2 |
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')); } |