X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdiff%2FDiffFormatter.php;h=33ca931fdb588175c77775566911688fc9cb17c9;hb=080437e1163ae2dfae06339b7a641bc5297c65cf;hp=40df0d75b45013e32aa53d2e69801c4f79554f44;hpb=2e040b99eda6c99cf472b3896f62d2f21315e808;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/diff/DiffFormatter.php b/includes/diff/DiffFormatter.php index 40df0d75b4..33ca931fdb 100644 --- a/includes/diff/DiffFormatter.php +++ b/includes/diff/DiffFormatter.php @@ -57,7 +57,6 @@ abstract class DiffFormatter { * @return string The formatted output. */ public function format( $diff ) { - wfProfileIn( __METHOD__ ); $xi = $yi = 1; $block = false; @@ -115,7 +114,6 @@ abstract class DiffFormatter { } $end = $this->endDiff(); - wfProfileOut( __METHOD__ ); return $end; } @@ -130,7 +128,6 @@ abstract class DiffFormatter { * @throws MWException If the edit type is not known. */ protected function block( $xbeg, $xlen, $ybeg, $ylen, &$edits ) { - wfProfileIn( __METHOD__ ); $this->startBlock( $this->blockHeader( $xbeg, $xlen, $ybeg, $ylen ) ); foreach ( $edits as $edit ) { if ( $edit->type == 'copy' ) { @@ -146,7 +143,6 @@ abstract class DiffFormatter { } } $this->endBlock(); - wfProfileOut( __METHOD__ ); } protected function startDiff() {