summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-02-25 21:35:54 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-03-10 15:13:28 +0100
commit4562909a2021be795b89cb7fcf6f244d7f6a8204 (patch)
treec485c2c36c1dfdd14b96c4dd036d808ba7f77b0b /lib
parentabad625cac2ef0417996f196f522ef006836940d (diff)
downloadnextcloud-server-4562909a2021be795b89cb7fcf6f244d7f6a8204.tar.gz
nextcloud-server-4562909a2021be795b89cb7fcf6f244d7f6a8204.zip
get trash size from file cache
Diffstat (limited to 'lib')
-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 a7c310a3782..a35e4d5e1b9 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 !== '' and $path !== 'files') {
+ if ($path !== '/' and $path !== '' and $path !== 'files' and $path !== 'files_trashbin') {
return parent::calculateFolderSize($path);
}