From c559f62a36403dbbee6bf56e28af536c5747d5f2 Mon Sep 17 00:00:00 2001 From: georglauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Thu, 7 Nov 2024 20:30:16 +0100 Subject: [PATCH] fix: remove superflous line Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com> --- lib/private/Http/Client/DnsPinMiddleware.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/private/Http/Client/DnsPinMiddleware.php b/lib/private/Http/Client/DnsPinMiddleware.php index 95ad5641c55..1f2815990dc 100644 --- a/lib/private/Http/Client/DnsPinMiddleware.php +++ b/lib/private/Http/Client/DnsPinMiddleware.php @@ -99,7 +99,6 @@ class DnsPinMiddleware { $canHaveCnameRecord = false; } elseif (isset($dnsResponse['target']) && $canHaveCnameRecord) { $targetIps = array_merge($targetIps, $this->dnsResolve($dnsResponse['target'], $recursionCount)); - $canHaveCnameRecord = true; } } } elseif ($dnsNegativeTtl !== null) { -- 2.39.5