r57228 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57227‎ | r57228 | r57229 >
Date:15:54, 1 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Merge r57227
Modified paths:
  • /branches/wmf-deployment/extensions/LiquidThreads (modified) (history)
  • /branches/wmf-deployment/extensions/LiquidThreads/classes/Thread.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/LiquidThreads/classes/Thread.php
@@ -249,14 +249,15 @@
250250
251251 $dbw = wfGetDB( DB_MASTER );
252252
253 -// $dbw->delete( 'user_message_state', array( 'ums_thread' => $this->id() ),
254 -// __METHOD__ );
 253+ $dbw->delete( 'user_message_state', array( 'ums_thread' => $this->id() ),
 254+ __METHOD__ );
255255
256256 // Fix reply count.
257257 $t = $this->superthread();
258258 while( $t ) {
259259 $t->decrementReplyCount();
260260 $t->save();
 261+ $t = $t->superthread();
261262 }
262263 }
263264
Property changes on: branches/wmf-deployment/extensions/LiquidThreads
___________________________________________________________________
Name: svn:mergeinfo
264265 - /branches/REL1_15/phase3/extensions/LiquidThreads:51646
/trunk/extensions/LiquidThreads:56151-57116,57130-57134,57169,57193,57195,57198,57200-57206,57215,57219,57222,57225
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350
265266 + /branches/REL1_15/phase3/extensions/LiquidThreads:51646
/trunk/extensions/LiquidThreads:56151-57116,57130-57134,57169,57193,57195,57198,57200-57206,57215,57219,57222,57225,57227
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57227Fix infinite loop on deleting subthreads.werdna15:52, 1 October 2009

Status & tagging log