Mikrotik Hotspot remove active after move to expired

This commit is contained in:
Ibnu Maksum 2024-08-09 17:25:52 +07:00
parent b8f15992d1
commit 6666fd0ed4
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -46,6 +46,8 @@ class MikrotikHotspot
$p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']);
if($p){
$this->add_customer($customer, $p);
$this->removeHotspotActiveUser($client, $customer['username']);
return;
}
}
$this->removeHotspotUser($client, $customer['username']);