Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -134,6 +134,7 @@ |
135 | 135 | if ( count( $records ) ) { |
136 | 136 | |
137 | 137 | # Pass1, scan the records to find the create date of each and sort by that |
| 138 | + $dbr = &wfGetDB( DB_SLAVE ); |
138 | 139 | $sorted = array(); |
139 | 140 | foreach ( $records as $k => $r ) { |
140 | 141 | $t = $r[0]; |