Merge pull request #10499 from owncloud/mkcol-headers-afterbind

Use afterBind to send fileId header for files and directories
This commit is contained in:
Thomas Müller 2014-09-22 10:02:03 +02:00
commit 8abf786af9
1 changed files with 1 additions and 1 deletions

View File

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