summaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache/homecache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/cache/homecache.php')
-rw-r--r--lib/private/files/cache/homecache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/homecache.php b/lib/private/files/cache/homecache.php
index 18dfbfe3191..71bb944da71 100644
--- a/lib/private/files/cache/homecache.php
+++ b/lib/private/files/cache/homecache.php
@@ -16,7 +16,7 @@ class HomeCache extends Cache {
* @return int
*/
public function calculateFolderSize($path) {
- if ($path !== '/' and $path !== '') {
+ if ($path !== '/' and $path !== '' and $path !== 'files') {
return parent::calculateFolderSize($path);
}