forked from kevinowino869/mitrobill
Mikrotik Hotspot remove active after move to expired
This commit is contained in:
parent
b8f15992d1
commit
6666fd0ed4
@ -46,6 +46,8 @@ class MikrotikHotspot
|
|||||||
$p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']);
|
$p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']);
|
||||||
if($p){
|
if($p){
|
||||||
$this->add_customer($customer, $p);
|
$this->add_customer($customer, $p);
|
||||||
|
$this->removeHotspotActiveUser($client, $customer['username']);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->removeHotspotUser($client, $customer['username']);
|
$this->removeHotspotUser($client, $customer['username']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user