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);
}
ound-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1" viewBox="0 0 16 16"><path color="#000" fill="none" d="M-62.897-32.993h163.31v97.986h-163.31z"/><path style="block-progression:tb;text-transform:none;text-indent:0" fill="#fff" d="M8.404 1c-1.732 0-3.2 1.266-3.2 2.9.012.516.058 1.153.366 2.5v.033l.034.034c.1.283.243.445.433.666s.417.482.633.7l.067.067c.043.186.095.387.133.567.103.478.093.817.067.933-.744.26-1.67.572-2.5.933-.466.203-.888.384-1.233.6-.345.217-.688.38-.8.867-.16.633-.2.754-.4 1.533-.027.21.083.43.267.534C3.78 14.68 6.096 15.01 8.405 15s4.606-.356 6.066-1.133c.117-.074.143-.11.133-.234-.043-.69-.08-1.367-.133-1.766a.537.537 0 0 0-.133-.267c-.464-.554-1.157-.892-1.967-1.233-.74-.312-1.607-.635-2.466-1-.05-.107-.096-.42 0-.9.025-.13.066-.268.1-.4.08-.09.143-.165.233-.267.19-.218.396-.447.566-.667s.31-.408.4-.666l.034-.034c.348-1.406.348-1.992.366-2.5V3.9c0-1.634-1.468-2.9-3.2-2.9z" color="#000"/></svg>