From: Aaron Schulz Date: Wed, 13 Jul 2011 22:57:04 +0000 (+0000) Subject: Fixed profiling error X-Git-Tag: 1.31.0-rc.0~28857 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=75fc6592bab24f5545a5b34c48bad192834e3e65;p=lhc%2Fweb%2Fwiklou.git Fixed profiling error --- diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index ded08f26a9..ec46b2c7b8 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -779,6 +779,8 @@ CONTROL; function generateDiffBody( $otext, $ntext ) { global $wgExternalDiffEngine, $wgContLang; + wfProfileIn( __METHOD__ ); + $otext = str_replace( "\r\n", "\n", $otext ); $ntext = str_replace( "\r\n", "\n", $ntext );