From 1e70fa8232e014c7e4683e33d1421e6b4f99038a Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Fri, 15 Dec 2023 20:12:50 +0100 Subject: [PATCH] ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE --- pdns/ws-auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 058b91796d..22cf02b70c 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -2064,7 +2064,7 @@ static void apiServerZoneDetailDELETE(HttpRequest* req, HttpResponse* resp) { di.backend->commitTransaction(); - purgeAuthCaches(zonename.toString() + "$"); + g_zoneCache.remove(zonename); } catch (...) { di.backend->abortTransaction(); throw; -- 2.47.2