VPN: WireGuard: Settings - API cleanup for 24.1 [2]

This commit is contained in:
Ad Schellevis 2024-01-07 11:43:20 +01:00
parent 4dacd81ab0
commit b5008a9cbf

View File

@ -64,28 +64,6 @@ class ServiceController extends ApiMutableServiceControllerBase
return ['result' => 'ok'];
}
/**
* show wireguard config
* XXX: remove in 24.1
* @return array
*/
public function showconfAction()
{
$response = (new Backend())->configdRun("wireguard showconf");
return array("response" => $response);
}
/**
* show wireguard handshakes
* XXX: remove in 24.1
* @return array
*/
public function showhandshakeAction()
{
$response = (new Backend())->configdRun("wireguard showhandshake");
return array("response" => $response);
}
/**
* wg show all dump output
* @return array