disconnect customer when moving to expired
This commit is contained in:
parent
c7e1dc963f
commit
b7b23fc39a
@ -75,6 +75,10 @@ class MikrotikPppoe
|
||||
$p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']);
|
||||
if($p){
|
||||
$this->add_customer($customer, $p);
|
||||
$this->removePpoeActive($client, $customer['username']);
|
||||
if (!empty($customer['pppoe_username'])) {
|
||||
$this->removePpoeActive($client, $customer['pppoe_username']);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "2024.8.9"
|
||||
"version": "2024.8.9.1"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user