fix radius change username
This commit is contained in:
parent
3c218d9ec9
commit
e5ff8c5675
@ -92,7 +92,7 @@ class Radius
|
|||||||
$this->customerDeactivate($customer['username'], true);
|
$this->customerDeactivate($customer['username'], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function change_username($from, $to)
|
public function change_username($plan, $from, $to)
|
||||||
{
|
{
|
||||||
$c = $this->getTableCustomer()->where_equal('username', $from)->findMany();
|
$c = $this->getTableCustomer()->where_equal('username', $from)->findMany();
|
||||||
if ($c) {
|
if ($c) {
|
||||||
|
@ -28,7 +28,7 @@ class RadiusRest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// customer change username
|
// customer change username
|
||||||
public function change_username($from, $to)
|
public function change_username($plan, $from, $to)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ class FileName {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// customer change username
|
// customer change username
|
||||||
public function change_username($from, $to)
|
public function change_username($plan, $from, $to)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user