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