r53223 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53222‎ | r53223 | r53224 >
Date:12:58, 14 July 2009
Author:werdna
Status:deferred
Tags:
Comment:
Clean up some old cruft, and fix exclusion of deleted threads from talk pages -- was breaking because of mistyped index
Modified paths:
  • /trunk/extensions/LiquidThreads/pages/TalkpageView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/pages/TalkpageView.php
@@ -251,8 +251,6 @@
252252 $pager = $this->getPager();
253253
254254 $threads = $this->getPageThreads( $pager );
255 -
256 -// $html .= $this->getArchiveWidget();
257255
258256 if ( count($threads) > 0 ) {
259257 $html .= Xml::element( 'br', array( 'style' => 'clear: both;' ) );
@@ -339,7 +337,7 @@
340338 );
341339
342340 if ( !$this->showDeleted ) {
343 - $queryInfo['where']['thread_deleted'] = 0;
 341+ $queryInfo['conds']['thread_deleted'] = 0;
344342 }
345343
346344 return $queryInfo;

Status & tagging log