summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_FileChunking.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/OC_FileChunking.php')
-rw-r--r--lib/private/legacy/OC_FileChunking.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_FileChunking.php b/lib/private/legacy/OC_FileChunking.php
index 048bd085bb5..37cf42a31cb 100644
--- a/lib/private/legacy/OC_FileChunking.php
+++ b/lib/private/legacy/OC_FileChunking.php
@@ -87,7 +87,7 @@ class OC_FileChunking {
$cache = $this->getCache();
$chunkcount = (int)$this->info['chunkcount'];
- for($i=($chunkcount-1); $i >= 0; $i--) {
+ for ($i=($chunkcount-1); $i >= 0; $i--) {
if (!$cache->hasKey($prefix.$i)) {
return false;
}
@@ -143,7 +143,7 @@ class OC_FileChunking {
public function cleanup() {
$cache = $this->getCache();
$prefix = $this->getPrefix();
- for($i=0; $i < $this->info['chunkcount']; $i++) {
+ for ($i=0; $i < $this->info['chunkcount']; $i++) {
$cache->remove($prefix.$i);
}
}