r57225 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57224‎ | r57225 | r57226 >
Date:15:06, 1 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix double-incrementing of reply counts
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Thread.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Thread.php
@@ -92,14 +92,6 @@
9393 $hthread = ThreadRevision::create( $thread, $change_type );
9494 }
9595
96 - // Increment appropriate reply counts.
97 - $t = $thread->superthread();
98 - while ($t) {
99 - $t->incrementReplyCount();
100 - $t->save();
101 - $t = $t->superthread();
102 - }
103 -
10496 // Create talk page
10597 Threads::createTalkpageIfNeeded( $article );
10698

Follow-up revisions

RevisionCommit summaryAuthorDate
r57226Merge r57225werdna15:08, 1 October 2009

Status & tagging log