forked from kevinowino869/mitrobill
removePpoeActive based pppoe_username
This commit is contained in:
@ -60,11 +60,13 @@ class MikrotikPppoe
|
||||
//disconnect then
|
||||
if(isset($isChangePlan) && $isChangePlan){
|
||||
$this->removePpoeActive($client, $customer['username']);
|
||||
if (!empty($customer['pppoe_username'])) {
|
||||
$this->removePpoeActive($client, $customer['pppoe_username']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function remove_customer($customer, $plan)
|
||||
{
|
||||
$mikrotik = $this->info($plan['routers']);
|
||||
|
@ -697,5 +697,6 @@
|
||||
"PPPoE_Username_already_used_by_another_customer": "PPPoE Username already used by another customer",
|
||||
"just_now": "just now",
|
||||
"Not_Working_for_freeradius": "Not Working for freeradius",
|
||||
"User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_Customer_Credentials": "User Cannot change this, only admin. if it Empty it will use Customer Credentials"
|
||||
"User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_Customer_Credentials": "User Cannot change this, only admin. if it Empty it will use Customer Credentials",
|
||||
"Failed_to_buy_package": "Failed to buy package"
|
||||
}
|
Reference in New Issue
Block a user