Unbound: Cleanup this->sessionClose

This commit is contained in:
Monviech 2024-10-14 13:47:28 +00:00 committed by Monviech
parent e81fe6f604
commit 5165ac625b

View File

@ -41,7 +41,6 @@ class ServiceController extends ApiMutableServiceControllerBase
public function dnsblAction()
{
$this->sessionClose();
$backend = new Backend();
$backend->configdRun('template reload ' . escapeshellarg(static::$internalServiceTemplate));
$response = $backend->configdRun(static::$internalServiceName . ' dnsbl');
@ -54,7 +53,6 @@ class ServiceController extends ApiMutableServiceControllerBase
*/
public function reconfigureGeneralAction()
{
$this->sessionClose();
$backend = new Backend();
$backend->configdRun('dns reload');
$result = $this->reconfigureAction();