remove pool_expired

This commit is contained in:
Ibnu Maksum
2024-06-21 20:00:24 +07:00
parent 98d8b4fe4e
commit 9014b18cea
5 changed files with 1 additions and 30 deletions

View File

@ -22,8 +22,7 @@ class Radius {
$p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']);
$this->customerAddPlan($customer, $plan);
} else {
$this->upsertCustomerAttr($customer['username'], 'Framed-Pool', $plan['pool_expired'], ':=');
$this->disconnectCustomer($customer['username']);
$this->customerDeactivate($customer['username'], true);
}
}