mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 22:33:07 -04:00
net/udpbroadcastrelay: remove these as well
This commit is contained in:
parent
32f61c510b
commit
ee3fa0bc38
2 changed files with 1 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue