From 30068ca01eef9b7d8217583f029baa629080e291 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Wed, 10 Dec 2025 12:09:52 -0600 Subject: [PATCH] chore(php): remove temporary debug from content ad injector --- .../Infrastructure/Services/ContentAdInjector.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Public/AdsensePlacement/Infrastructure/Services/ContentAdInjector.php b/Public/AdsensePlacement/Infrastructure/Services/ContentAdInjector.php index 7b02df25..f08c37a4 100644 --- a/Public/AdsensePlacement/Infrastructure/Services/ContentAdInjector.php +++ b/Public/AdsensePlacement/Infrastructure/Services/ContentAdInjector.php @@ -52,20 +52,11 @@ final class ContentAdInjector // Determinar modo de operacion $mode = $this->settings['incontent_advanced']['incontent_mode'] ?? 'paragraphs_only'; - // DEBUG TEMPORAL - $forbiddenZones = $this->mapForbiddenZones($content); - $debugInfo = sprintf( - '', - $mode, - count($forbiddenZones), - strlen($content) - ); - if ($mode === 'paragraphs_only') { - return $debugInfo . $this->injectParagraphsOnly($content); + return $this->injectParagraphsOnly($content); } - return $debugInfo . $this->injectAdvanced($content); + return $this->injectAdvanced($content); } /**