mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/siproxd: Remove sessionClose()
This commit is contained in:
committed by
Franco Fichtner
parent
ff349682f8
commit
8e8e577268
@@ -77,7 +77,6 @@ class DomainController extends ApiMutableModelControllerBase
|
||||
|
||||
public function searchDomainAction()
|
||||
{
|
||||
$this->sessionClose();
|
||||
$mdlDomain = $this->getModel();
|
||||
$grid = new UIModelGrid($mdlDomain->domains->domain);
|
||||
return $grid->fetchBindRequest(
|
||||
|
||||
-9
@@ -57,8 +57,6 @@ class ServiceController extends ApiControllerBase
|
||||
public function startAction()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
// close session for long running action
|
||||
$this->sessionClose();
|
||||
$backend = new Backend();
|
||||
$response = $backend->configdRun("siproxd start");
|
||||
return array("response" => $response);
|
||||
@@ -74,8 +72,6 @@ class ServiceController extends ApiControllerBase
|
||||
public function stopAction()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
// close session for long running action
|
||||
$this->sessionClose();
|
||||
$backend = new Backend();
|
||||
$response = $backend->configdRun("siproxd stop");
|
||||
return array("response" => $response);
|
||||
@@ -91,8 +87,6 @@ class ServiceController extends ApiControllerBase
|
||||
public function restartAction()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
// close session for long running action
|
||||
$this->sessionClose();
|
||||
$backend = new Backend();
|
||||
$response = $backend->configdRun("siproxd restart");
|
||||
return array("response" => $response);
|
||||
@@ -135,9 +129,6 @@ class ServiceController extends ApiControllerBase
|
||||
public function reconfigureAction()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
// close session for long running action
|
||||
$this->sessionClose();
|
||||
|
||||
$mdlGeneral = new General();
|
||||
$backend = new Backend();
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@ class UserController extends ApiMutableModelControllerBase
|
||||
|
||||
public function searchUserAction()
|
||||
{
|
||||
$this->sessionClose();
|
||||
$mdlUser = $this->getModel();
|
||||
$grid = new UIModelGrid($mdlUser->users->user);
|
||||
return $grid->fetchBindRequest(
|
||||
|
||||
Reference in New Issue
Block a user