diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-18 18:34:39 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-18 20:23:17 +0200 |
commit | 703aff6c3508624c22f88a07599c81fec6f7c11e (patch) | |
tree | 91daab965346a60bb5a9655cdad6bf018c5412c3 /lib/connector/sabre/directory.php | |
parent | 30188847a32b11efe86efbdda46ac480fb170493 (diff) | |
download | nextcloud-server-703aff6c3508624c22f88a07599c81fec6f7c11e.tar.gz nextcloud-server-703aff6c3508624c22f88a07599c81fec6f7c11e.zip |
Run proxies and emit signals when finising chunked upload
Otherwise the file cache and the quota isn't checked
Diffstat (limited to 'lib/connector/sabre/directory.php')
-rw-r--r-- | lib/connector/sabre/directory.php | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |