Merge pull request #10499 from owncloud/mkcol-headers-afterbind
Use afterBind to send fileId header for files and directories
This commit is contained in:
commit
8abf786af9
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue