r46003 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46002‎ | r46003 | r46004 >
Date:05:10, 22 January 2009
Author:nad
Status:deferred
Tags:
Comment:
get new db connection
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -134,6 +134,7 @@
135135 if ( count( $records ) ) {
136136
137137 # Pass1, scan the records to find the create date of each and sort by that
 138+ $dbr = &wfGetDB( DB_SLAVE );
138139 $sorted = array();
139140 foreach ( $records as $k => $r ) {
140141 $t = $r[0];

Status & tagging log