r72702 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72701‎ | r72702 | r72703 >
Date:05:54, 10 September 2010
Author:werdna
Status:deferred
Tags:
Comment:
When delete()ing with commits off, still write to the database (since we do so anyway, to decrease the reply count).
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Thread.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Thread.php
@@ -336,6 +336,8 @@
337337
338338 if ( $commit ) {
339339 $this->commitRevision( Threads::CHANGE_DELETED, $this, $reason );
 340+ } else {
 341+ $this->save( __METHOD__ );
340342 }
341343 /* Mark thread as read by all users, or we get blank thingies in New Messages. */
342344

Status & tagging log