From: Chris Hofstaedtler Date: Fri, 15 Dec 2023 19:12:50 +0000 (+0100) Subject: ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE X-Git-Tag: auth-4.9.0-alpha1~34^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13641%2Fhead;p=thirdparty%2Fpdns.git ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE --- 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;