mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 15:36:33 +08:00
Merge Fix PPPOE Delete Customer
This commit is contained in:
commit
43590211a2
1 changed files with 2 additions and 2 deletions
|
@ -204,12 +204,12 @@ class Mikrotik
|
|||
'/ppp secret print .proplist=name',
|
||||
RouterOS\Query::where('name', $username)
|
||||
);
|
||||
$userName = $client->sendSync($printRequest)->getProperty('name');
|
||||
$id = $client->sendSync($printRequest)->getProperty('.id');
|
||||
|
||||
$removeRequest = new RouterOS\Request('/ppp/secret/remove');
|
||||
$client(
|
||||
$removeRequest
|
||||
->setArgument('numbers', $userName)
|
||||
->setArgument('numbers', $id)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue