mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/udpbroadcastrelay: remove these as well
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= udpbroadcastrelay
|
||||
PLUGIN_VERSION= 1.0
|
||||
PLUGIN_REVISION= 4
|
||||
PLUGIN_REVISION= 5
|
||||
PLUGIN_COMMENT= Control udpbroadcastrelay processes
|
||||
PLUGIN_DEPENDS= udpbroadcastrelay
|
||||
PLUGIN_MAINTAINER= mjwasley@gmail.com
|
||||
|
||||
-9
@@ -63,9 +63,6 @@ class ServiceController extends ApiMutableModelControllerBase
|
||||
public function startAction($uuid)
|
||||
{
|
||||
$result = array("result" => "failed", "function" => "start");
|
||||
if ($this->request->isPost()) {
|
||||
$this->sessionClose();
|
||||
}
|
||||
if ($uuid != null) {
|
||||
$mdlUDPBroadcastRelay = new UDPBroadcastRelay();
|
||||
$node = $mdlUDPBroadcastRelay->getNodeByReference('udpbroadcastrelay.' . $uuid);
|
||||
@@ -84,9 +81,6 @@ class ServiceController extends ApiMutableModelControllerBase
|
||||
public function stopAction($uuid)
|
||||
{
|
||||
$result = array("result" => "failed", "function" => "stop");
|
||||
if ($this->request->isPost()) {
|
||||
$this->sessionClose();
|
||||
}
|
||||
if ($uuid != null) {
|
||||
$mdlUDPBroadcastRelay = new UDPBroadcastRelay();
|
||||
$node = $mdlUDPBroadcastRelay->getNodeByReference('udpbroadcastrelay.' . $uuid);
|
||||
@@ -104,9 +98,6 @@ class ServiceController extends ApiMutableModelControllerBase
|
||||
*/
|
||||
public function restartAction($uuid)
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
$this->sessionClose();
|
||||
}
|
||||
if ($uuid != null) {
|
||||
$mdlUDPBroadcastRelay = new UDPBroadcastRelay();
|
||||
$node = $mdlUDPBroadcastRelay->getNodeByReference('udpbroadcastrelay.' . $uuid);
|
||||
|
||||
Reference in New Issue
Block a user