r59848 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59847‎ | r59848 | r59849 >
Date:20:45, 8 December 2009
Author:werdna
Status:ok
Tags:
Comment:
Migrate Threads::newThread --> Thread::create
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Thread.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Thread.php
@@ -352,7 +352,7 @@
353353 $redirectArticle->doEdit( $redirectText, $reason, EDIT_NEW );
354354
355355 // Add the trace thread to the tracking table.
356 - $thread = Threads::newThread( $redirectArticle, new Article_LQT_Compat( $oldTitle ), null,
 356+ $thread = Thread::create( $redirectArticle, new Article_LQT_Compat( $oldTitle ), null,
357357 Threads::TYPE_MOVED, $this->subject() );
358358
359359 $thread->setSortkey( $this->sortkey() );

Status & tagging log