Updates for quota logic
This commit is contained in:
parent
4a0bdb0dd5
commit
aad96ba399
|
|
@ -521,7 +521,7 @@ class Account extends BaseModel
|
|||
$limit += Carbon::createFromTimestamp($this->created_at)->diffInMonths() * (20 * $multiplier);
|
||||
} else {
|
||||
$limit = $this->free_plan_email_quota;
|
||||
$limit += Carbon::createFromTimestamp($this->created_at)->diffInMonths() * 1.5;
|
||||
// $limit += Carbon::createFromTimestamp($this->created_at)->diffInMonths() * 1.5;
|
||||
}
|
||||
|
||||
return min($limit, 1000);
|
||||
|
|
|
|||
Loading…
Reference in New Issue