chore(php): remove temporary debug from content ad injector
This commit is contained in:
@@ -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(
|
||||
'<!-- ROI_DEBUG: mode=%s, forbidden_zones=%d, content_len=%d -->',
|
||||
$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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user