net/udpbroadcastrelay: remove these as well

This commit is contained in:
Franco Fichtner
2024-07-29 21:11:15 +02:00
parent 32f61c510b
commit ee3fa0bc38
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -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
@@ -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);