r66081 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66080‎ | r66081 | r66082 >
Date:04:30, 9 May 2010
Author:mah
Status:deferred (Comments)
Tags:
Comment:
Change testing code.
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( 'testTEST' );
 155+ wfProfileIn( 'writeMessageStateForUpdatedThread' );
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
@@ -222,7 +222,7 @@
223223 if ( count( $notifyUsers ) && $wgLqtEnotif ) {
224224 self::notifyUsersByMail( $t, $notifyUsers, wfTimestampNow(), $type );
225225 }
226 - wfProfileOut( 'testTEST' );
 226+ wfProfileOut( 'writeMessageStateForUpdatedThread' );
227227 }
228228
229229 // Would refactor User::decodeOptions, but the whole point is that this is

Follow-up revisions

RevisionCommit summaryAuthorDate
r68685re r66081: use __METHOD__ instead of hard-coding.mah21:39, 28 June 2010

Comments

#Comment by Werdna (talk | contribs)   20:56, 28 June 2010

You should use __METHOD__ instead of hardcoding.

Status & tagging log