r58408 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58407‎ | r58408 | r58409 >
Date:21:45, 1 November 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Get prefixed table name. Needs review. Looks really ugly.
Modified paths:
  • /trunk/extensions/LiquidThreads/api/ApiFeedLQTThreads.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/api/ApiFeedLQTThreads.php
@@ -58,7 +58,7 @@
5959 $feedItems = array();
6060
6161 $tables = array( 'thread' );
62 - $fields = array( 'thread.*' );
 62+ $fields = array( $db->tableName( 'thread' ) . ".*" );
6363 $conds = $this->getConditions( $params, $db );
6464 $options = array( 'LIMIT' => 200, 'ORDER BY' => 'thread_created DESC' );
6565

Status & tagging log