r68685 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68684‎ | r68685 | r68686 >
Date:21:39, 28 June 2010
Author:mah
Status:deferred
Tags:
Comment:
re r66081: use __METHOD__ instead of hard-coding.
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/NewMessagesController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/NewMessagesController.php
@@ -151,7 +151,7 @@
152152 */
153153 static function writeMessageStateForUpdatedThread( $t, $type, $changeUser ) {
154154 wfDebugLog( 'LiquidThreads', 'Doing notifications' );
155 - wfProfileIn( 'writeMessageStateForUpdatedThread' );
 155+ wfProfileIn( __METHOD__ );
156156
157157 // Pull users to update the message state for, including whether or not a
158158 // user_message_state row exists for them, and whether or not to send an email
@@ -224,7 +224,7 @@
225225 if ( count( $notifyUsers ) && $wgLqtEnotif ) {
226226 self::notifyUsersByMail( $t, $notifyUsers, wfTimestampNow(), $type );
227227 }
228 - wfProfileOut( 'writeMessageStateForUpdatedThread' );
 228+ wfProfileOut( __METHOD__ );
229229 }
230230
231231 // Would refactor User::decodeOptions, but the whole point is that this is

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66081Change testing code.mah04:30, 9 May 2010

Status & tagging log