mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: Remove sessionClose()
This commit is contained in:
committed by
Franco Fichtner
parent
659b29eff5
commit
586f637975
-1
@@ -48,7 +48,6 @@ class AccountsController extends ApiMutableModelControllerBase
|
||||
|
||||
public function getAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('account', 'accounts.account', $uuid);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -46,7 +46,6 @@ class ActionsController extends ApiMutableModelControllerBase
|
||||
|
||||
public function getAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('action', 'actions.action', $uuid);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -48,7 +48,6 @@ class CertificatesController extends ApiMutableModelControllerBase
|
||||
|
||||
public function getAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('certificate', 'certificates.certificate', $uuid);
|
||||
}
|
||||
|
||||
|
||||
-9
@@ -50,8 +50,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("acmeclient http-start");
|
||||
return array("response" => $response);
|
||||
@@ -67,8 +65,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("acmeclient http-stop");
|
||||
return array("response" => $response);
|
||||
@@ -84,8 +80,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("acmeclient http-restart");
|
||||
return array("response" => $response);
|
||||
@@ -128,9 +122,6 @@ class ServiceController extends ApiControllerBase
|
||||
public function reconfigureAction()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
// close session for long running action
|
||||
$this->sessionClose();
|
||||
|
||||
$force_restart = false;
|
||||
|
||||
$mdlAcme = new AcmeClient();
|
||||
|
||||
-1
@@ -47,7 +47,6 @@ class ValidationsController extends ApiMutableModelControllerBase
|
||||
|
||||
public function getAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('validation', 'validations.validation', $uuid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user