mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/tor: Remove sessionClose()
This commit is contained in:
committed by
Franco Fichtner
parent
586f637975
commit
499b8ff7ca
@@ -43,7 +43,6 @@ class ExitaclController extends ApiMutableModelControllerBase
|
||||
}
|
||||
public function getaclAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('exitpolicy', 'policy', $uuid);
|
||||
}
|
||||
public function addaclAction()
|
||||
|
||||
@@ -82,7 +82,6 @@ class GeneralController extends ApiMutableModelControllerBase
|
||||
|
||||
public function gethidservauthAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('client_auth', 'client_authentications.client_auth', $uuid);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -40,7 +40,6 @@ class HiddenserviceController extends ApiMutableModelControllerBase
|
||||
}
|
||||
public function getserviceAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('hiddenservice', 'service', $uuid);
|
||||
}
|
||||
public function addserviceAction()
|
||||
|
||||
-1
@@ -40,7 +40,6 @@ class HiddenserviceaclController extends ApiMutableModelControllerBase
|
||||
}
|
||||
public function getaclAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('hiddenserviceacl', 'hiddenserviceacl', $uuid);
|
||||
}
|
||||
public function addaclAction()
|
||||
|
||||
@@ -132,9 +132,6 @@ class ServiceController extends ApiControllerBase
|
||||
public function reconfigureAction()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
// close session for long running action
|
||||
$this->sessionClose();
|
||||
|
||||
$general = new General();
|
||||
$backend = new Backend();
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ class SocksaclController extends ApiMutableModelControllerBase
|
||||
}
|
||||
public function getaclAction($uuid = null)
|
||||
{
|
||||
$this->sessionClose();
|
||||
return $this->getBase('policy', 'policy', $uuid);
|
||||
}
|
||||
public function addaclAction()
|
||||
|
||||
Reference in New Issue
Block a user