aboutsummaryrefslogtreecommitdiffstats
path: root/includes/FeedUtils.php
diff options
context:
space:
mode:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>2010-01-10 18:36:26 +0000
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>2010-01-10 18:36:26 +0000
commit6a9bb1f6d2c89910125a0bb83391668e88f76ec2 (patch)
tree9bef495963558c4a438b1aca6e7422f45a4f072e /includes/FeedUtils.php
parentf6cb1b04429ddd04a8219f3ba9b129af9d878a68 (diff)
downloadmediawikicore-6a9bb1f6d2c89910125a0bb83391668e88f76ec2.tar.gz
mediawikicore-6a9bb1f6d2c89910125a0bb83391668e88f76ec2.zip
__FUNCTION__ -> __METHOD__
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60905
Diffstat (limited to 'includes/FeedUtils.php')
-rw-r--r--includes/FeedUtils.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php
index 072c00b15266..7e841f321364 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;
}