mirror of
https://github.com/appwrite/appwrite
synced 2026-05-19 15:08:43 +00:00
commit
f656002a03
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ class CalcTierStats extends Action
|
|||
if (empty($file)) {
|
||||
continue;
|
||||
}
|
||||
$filesSum += $dbForProject->sum('bucket_' . $bucket->getInternalId(), 'sizeOriginal', [], 0);
|
||||
$filesSum += $dbForProject->sum('bucket_' . $bucket->getInternalId(), 'sizeOriginal', []);
|
||||
$filesCount += $dbForProject->count('bucket_' . $bucket->getInternalId(), []);
|
||||
if ($file->getAttribute('sizeOriginal') > $maxFileSize) {
|
||||
$maxFileSize = $file->getAttribute('sizeOriginal');
|
||||
|
|
|
|||
Loading…
Reference in a new issue