diff options
author | Ari Selseng <ari@selseng.net> | 2019-03-01 23:52:58 +0100 |
---|---|---|
committer | Ari Selseng <ari@selseng.net> | 2019-03-06 15:23:37 +0100 |
commit | d16cfb519e267c64b0ed816901b97f097576821a (patch) | |
tree | 6089370b4d1b26373f1f000f96efbb13995c6e92 /lib/private/Files/Cache/Wrapper/CacheWrapper.php | |
parent | 679afa251ba8fb21b9379079ed078ac804358f48 (diff) | |
download | nextcloud-server-d16cfb519e267c64b0ed816901b97f097576821a.tar.gz nextcloud-server-d16cfb519e267c64b0ed816901b97f097576821a.zip |
Avoid calculating folder size for parent that needs scan.
Signed-off-by: Ari Selseng <ari@selseng.net>
Diffstat (limited to 'lib/private/Files/Cache/Wrapper/CacheWrapper.php')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheWrapper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php index da0a1b54e7f..223e678f323 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -258,9 +258,9 @@ class CacheWrapper extends Cache { * @param string|boolean $path * @param array $data (optional) meta data of the folder */ - public function correctFolderSize($path, $data = null) { + public function correctFolderSize($path, $data = null, $isBackgroundScan = false) { if ($this->getCache() instanceof Cache) { - $this->getCache()->correctFolderSize($path, $data); + $this->getCache()->correctFolderSize($path, $data, $isBackgroundScan); } } |