diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-04 18:19:48 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-04 18:19:48 +0200 |
commit | a2db53b928f7b0202391fca3c1d746478be9acae (patch) | |
tree | bb553df06df4e77b18eca6378fdbc5ee1a42f873 /lib/private/files/cache | |
parent | e734caecba15a317428aea4d308b2ff377f0c19b (diff) | |
parent | 8ee15025f06b683673101c5604b10798c75a76ae (diff) | |
download | nextcloud-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.php | 2 |
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 |