diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-06 13:55:26 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-02 18:55:13 +0200 |
commit | 7ad0fee0b56d9ab678cbb52128d427ebd641b05e (patch) | |
tree | b8b99b661cbeb7772f927d070eb6e18cd5408a92 /lib | |
parent | 390d8e53b4349af2265085f25c2784c620fbf4ae (diff) | |
download | nextcloud-server-7ad0fee0b56d9ab678cbb52128d427ebd641b05e.tar.gz nextcloud-server-7ad0fee0b56d9ab678cbb52128d427ebd641b05e.zip |
let file cache handle the versions size
Diffstat (limited to 'lib')
-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 |