]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE 13641/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 15 Dec 2023 19:12:50 +0000 (20:12 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 15 Dec 2023 19:13:07 +0000 (20:13 +0100)
pdns/ws-auth.cc

index 058b91796d508bc42accf1a738909702ddcb7774..22cf02b70c9104eff949b0db2d4cb279665ed14b 100644 (file)
@@ -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;