aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files/cache/scanner.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php
index 0adde1d354d..eb947a2d53e 100644
--- a/lib/files/cache/scanner.php
+++ b/lib/files/cache/scanner.php
@@ -101,9 +101,9 @@ class Scanner {
}
}
}
- }
- if ($size !== -1) {
- $this->cache->put($path, array('size' => $size));
+ if ($size !== -1) {
+ $this->cache->put($path, array('size' => $size));
+ }
}
return $size;
}