mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-18 08:38:29 +02:00
disconnect customer when moving to expired
This commit is contained in:
parent
c7e1dc963f
commit
b7b23fc39a
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue