diff --git a/system/devices/Radius.php b/system/devices/Radius.php index 0fa404a2..2544c7c5 100644 --- a/system/devices/Radius.php +++ b/system/devices/Radius.php @@ -92,7 +92,7 @@ class Radius $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(); if ($c) { diff --git a/system/devices/RadiusRest.php b/system/devices/RadiusRest.php index c1095ef6..5e3fb95b 100644 --- a/system/devices/RadiusRest.php +++ b/system/devices/RadiusRest.php @@ -28,7 +28,7 @@ class RadiusRest { } // customer change username - public function change_username($from, $to) + public function change_username($plan, $from, $to) { } diff --git a/system/devices/readme.md b/system/devices/readme.md index 0a0022e8..c47cbbd6 100644 --- a/system/devices/readme.md +++ b/system/devices/readme.md @@ -34,7 +34,7 @@ class FileName { } // customer change username - public function change_username($from, $to) + public function change_username($plan, $from, $to) { }