diff --git a/net/udpbroadcastrelay/Makefile b/net/udpbroadcastrelay/Makefile index 938cadc20..b57ee6954 100644 --- a/net/udpbroadcastrelay/Makefile +++ b/net/udpbroadcastrelay/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= udpbroadcastrelay PLUGIN_VERSION= 1.0 -PLUGIN_REVISION= 3 +PLUGIN_REVISION= 4 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 b64d378d5..c036ae0c0 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 @@ -45,9 +45,6 @@ class ServiceController extends ApiMutableModelControllerBase public function statusAction($uuid) { $result = array("result" => "failed", "function" => "status"); - if ($this->request->isPost()) { - $this->sessionClose(); - } if ($uuid != null) { $mdlUDPBroadcastRelay = new UDPBroadcastRelay(); $node = $mdlUDPBroadcastRelay->getNodeByReference('udpbroadcastrelay.' . $uuid); @@ -127,9 +124,6 @@ class ServiceController extends ApiMutableModelControllerBase public function configAction() { $result = array("result" => "failed", "function" => "config"); - if ($this->request->isPost()) { - $this->sessionClose(); - } $result['result'] = $this->callBackend('template'); return $result; } @@ -140,9 +134,6 @@ class ServiceController extends ApiMutableModelControllerBase */ public function reloadAction() { - if ($this->request->isPost()) { - $this->sessionClose(); - } $result = $this->configAction(); if ($result['result'] == 'OK') { $result['function'] = "reload";