From 70ad369ad6a450d91188a366d3e0dfcfca0a0eab Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 6 Jul 2011 17:12:18 +0000 Subject: [PATCH] - removed some debug traces !! SVN:trunk[1337] --- core/attributedef.class.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index b61319680..5d2073786 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -1352,7 +1352,6 @@ class AttributeText extends AttributeString if (preg_match_all(WIKI_URL, $sText, $aAllMatches, PREG_SET_ORDER /* important !*/ |PREG_OFFSET_CAPTURE /* important ! */)) { $aUrls = array(); - echo "
".print_r($aAllMatches,true)."

\n"; $i = count($aAllMatches); // Replace the URLs by an actual hyperlink ... // Let's do it backwards so that the initial positions are not modified by the replacement @@ -1363,7 +1362,6 @@ class AttributeText extends AttributeString $i--; $sUrl = $aAllMatches[$i][0][0]; // String corresponding to the main pattern $iPos = $aAllMatches[$i][0][1]; // Position of the main pattern - echo "

Replacing: '$sUrl', located at: $iPos, length: ".strlen($sUrl)."

\n"; $sText = substr_replace($sText, "$sUrl", $iPos, strlen($sUrl)); }