From 5165ac625b719b650577487ed394c3d015bf6b63 Mon Sep 17 00:00:00 2001 From: Monviech Date: Mon, 14 Oct 2024 13:47:28 +0000 Subject: [PATCH] Unbound: Cleanup this->sessionClose --- .../app/controllers/OPNsense/Unbound/Api/ServiceController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/ServiceController.php b/src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/ServiceController.php index 1e80f781b..0eea31f4c 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/ServiceController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/ServiceController.php @@ -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();