diff --git a/lib/filecache.php b/lib/filecache.php index bde70757d3..2f4a6daf21 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -354,7 +354,7 @@ class OC_FileCache{ public static function increaseSize($path, $sizeDiff, $root=false) { if($sizeDiff==0) return; $item = OC_FileCache_Cached::get($path); - //stop walking up the filetree if we hit a non-folder or reached to root folder + //stop walking up the filetree if we hit a non-folder or reached the root folder if($path == '/' || $path=='' || $item['mimetype'] !== 'httpd/unix-directory') { return; }