r23485 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23484‎ | r23485 | r23486 >
Date:20:11, 27 June 2007
Author:robchurch
Status:old
Tags:
Comment:
Fake out log_id until it's live on Wikimedia
Modified paths:
  • /branches/robchurch/logs/includes/SpecialLog.php (modified) (history)

Diff [purge]

Index: branches/robchurch/logs/includes/SpecialLog.php
@@ -161,7 +161,8 @@
162162 */
163163 function getQuery() {
164164 $logging = $this->db->tableName( "logging" );
165 - $sql = "SELECT /*! STRAIGHT_JOIN */ * FROM $logging ";
 165+ # Note: Fake out log_id until it's live on Wikimedia
 166+ $sql = "SELECT /*! STRAIGHT_JOIN */ *, 0 AS log_id FROM $logging ";
166167 if( !empty( $this->joinClauses ) ) {
167168 $sql .= implode( ' ', $this->joinClauses );
168169 }

Status & tagging log