From 703aff6c3508624c22f88a07599c81fec6f7c11e Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Tue, 18 Sep 2012 18:34:39 +0200 Subject: Run proxies and emit signals when finising chunked upload Otherwise the file cache and the quota isn't checked --- lib/connector/sabre/directory.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/connector') diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php index b5049d800c4..bbc615c0b16 100644 --- a/lib/connector/sabre/directory.php +++ b/lib/connector/sabre/directory.php @@ -57,8 +57,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa $chunk_handler->store($info['index'], $data); if ($chunk_handler->isComplete()) { $newPath = $this->path . '/' . $info['name']; - $f = OC_Filesystem::fopen($newPath, 'w'); - $chunk_handler->assemble($f); + $chunk_handler->file_assemble($newPath); return OC_Connector_Sabre_Node::getETagPropertyForPath($newPath); } } else { -- cgit v1.2.3