net/siproxd: Remove sessionClose()

This commit is contained in:
Monviech
2025-01-10 10:22:26 +01:00
committed by Franco Fichtner
parent ff349682f8
commit 8e8e577268
3 changed files with 0 additions and 11 deletions
@@ -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(
@@ -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(