summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/directory.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-18 18:34:39 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-18 20:23:17 +0200
commit703aff6c3508624c22f88a07599c81fec6f7c11e (patch)
tree91daab965346a60bb5a9655cdad6bf018c5412c3 /lib/connector/sabre/directory.php
parent30188847a32b11efe86efbdda46ac480fb170493 (diff)
downloadnextcloud-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.php3
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 {