Index: branches/wmf-deployment/extensions/LiquidThreads/classes/Thread.php |
— | — | @@ -249,14 +249,15 @@ |
250 | 250 | |
251 | 251 | $dbw = wfGetDB( DB_MASTER ); |
252 | 252 | |
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__ ); |
255 | 255 | |
256 | 256 | // Fix reply count. |
257 | 257 | $t = $this->superthread(); |
258 | 258 | while( $t ) { |
259 | 259 | $t->decrementReplyCount(); |
260 | 260 | $t->save(); |
| 261 | + $t = $t->superthread(); |
261 | 262 | } |
262 | 263 | } |
263 | 264 | |
Property changes on: branches/wmf-deployment/extensions/LiquidThreads |
___________________________________________________________________ |
Name: svn:mergeinfo |
264 | 265 | - /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 |
265 | 266 | + /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 |