From 6a9bb1f6d2c89910125a0bb83391668e88f76ec2 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 10 Jan 2010 18:36:26 +0000 Subject: [PATCH] __FUNCTION__ -> __METHOD__ --- includes/FeedUtils.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 072c00b152..7e841f3213 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -87,7 +87,7 @@ class FeedUtils { */ public static function formatDiffRow( $title, $oldid, $newid, $timestamp, $comment, $actiontext='' ) { global $wgFeedDiffCutoff, $wgContLang, $wgUser; - wfProfileIn( __FUNCTION__ ); + wfProfileIn( __METHOD__ ); $skin = $wgUser->getSkin(); # log enties @@ -105,7 +105,7 @@ class FeedUtils { if( $title->getNamespace() >= 0 && !$accErrors && $newid ) { if( $oldid ) { - wfProfileIn( __FUNCTION__."-dodiff" ); + wfProfileIn( __METHOD__."-dodiff" ); #$diffText = $de->getDiff( wfMsg( 'revisionasof', # $wgContLang->timeanddate( $timestamp ), @@ -142,7 +142,7 @@ class FeedUtils { $diffText = UtfNormal::cleanUp( $diffText ); $diffText = self::applyDiffStyle( $diffText ); } - wfProfileOut( __FUNCTION__."-dodiff" ); + wfProfileOut( __METHOD__."-dodiff" ); } else { $rev = Revision::newFromId( $newid ); if( is_null( $rev ) ) { @@ -156,7 +156,7 @@ class FeedUtils { $completeText .= $diffText; } - wfProfileOut( __FUNCTION__ ); + wfProfileOut( __METHOD__ ); return $completeText; } -- 2.20.1