diff --git a/net/udpbroadcastrelay/Makefile b/net/udpbroadcastrelay/Makefile index b57ee6954..0dd56ef13 100644 --- a/net/udpbroadcastrelay/Makefile +++ b/net/udpbroadcastrelay/Makefile @@ -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 diff --git a/net/udpbroadcastrelay/src/opnsense/mvc/app/controllers/OPNsense/UDPBroadcastRelay/Api/ServiceController.php b/net/udpbroadcastrelay/src/opnsense/mvc/app/controllers/OPNsense/UDPBroadcastRelay/Api/ServiceController.php index c036ae0c0..09e6feb63 100644 --- a/net/udpbroadcastrelay/src/opnsense/mvc/app/controllers/OPNsense/UDPBroadcastRelay/Api/ServiceController.php +++ b/net/udpbroadcastrelay/src/opnsense/mvc/app/controllers/OPNsense/UDPBroadcastRelay/Api/ServiceController.php @@ -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);