summaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-06-04 18:19:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-04 18:19:48 +0200
commita2db53b928f7b0202391fca3c1d746478be9acae (patch)
treebb553df06df4e77b18eca6378fdbc5ee1a42f873 /lib/private/files/cache
parente734caecba15a317428aea4d308b2ff377f0c19b (diff)
parent8ee15025f06b683673101c5604b10798c75a76ae (diff)
downloadnextcloud-server-a2db53b928f7b0202391fca3c1d746478be9acae.tar.gz
nextcloud-server-a2db53b928f7b0202391fca3c1d746478be9acae.zip
Merge pull request #8471 from owncloud/versioning_no_longer_track_the_size
[versioning] let the file cache track the size of the versions
Diffstat (limited to 'lib/private/files/cache')
-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 f61769f0b9b..06ae62015a5 100644
--- a/lib/private/files/cache/homecache.php
+++ b/lib/private/files/cache/homecache.php
@@ -17,7 +17,7 @@ class HomeCache extends Cache {
* @return int
*/
public function calculateFolderSize($path, $entry = null) {
- if ($path !== '/' and $path !== '' and $path !== 'files' and $path !== 'files_trashbin') {
+ if ($path !== '/' and $path !== '' and $path !== 'files' and $path !== 'files_trashbin' and $path !== 'files_versions') {
return parent::calculateFolderSize($path, $entry);
} elseif ($path === '' or $path === '/') {
// since the size of / isn't used (the size of /files is used instead) there is no use in calculating it