mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Account cleanup
This commit is contained in:
parent
73e7aadaad
commit
38a648866c
@ -243,15 +243,11 @@ class Account extends BaseModel
|
||||
if ($trial_plan && $include_trial) {
|
||||
$trial_started = $this->trial_started;
|
||||
$trial_expires = $this->trial_started->addSeconds($this->trial_duration);
|
||||
// $trial_expires->modify('+2 weeks');
|
||||
|
||||
if($trial_expires->greaterThan(now())){
|
||||
$trial_active = true;
|
||||
}
|
||||
|
||||
// if ($trial_expires >= date_create()) {
|
||||
// $trial_active = true;
|
||||
// }
|
||||
}
|
||||
|
||||
$plan_active = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user