diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-10 16:04:47 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-10 16:04:47 +0100 |
commit | 4fdf7682c9d3a7f8f481712ee747cc10989c11d6 (patch) | |
tree | 07e7353de8d64dded35ce816c9e620b1f231d12a /lib | |
parent | 3c5185edab2352ce0d825870ce2b4964a28a777b (diff) | |
parent | 5ddabd7cd02108718b286b36de5927d90afc150a (diff) | |
download | nextcloud-server-4fdf7682c9d3a7f8f481712ee747cc10989c11d6.tar.gz nextcloud-server-4fdf7682c9d3a7f8f481712ee747cc10989c11d6.zip |
Merge pull request #7398 from owncloud/trash_dont_rely_on_db
[trash] fall back if file is not in db
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 2af5b03c6e1..82f31d0867d 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); } |