Revision: 46003
Author: nad
Date: 2009-01-22 05:10:18 +0000 (Thu, 22 Jan 2009)
Log Message:
-----------
get new db connection
Modified Paths:
--------------
trunk/extensions/RecordAdmin/RecordAdmin_body.php
Modified: trunk/extensions/RecordAdmin/RecordAdmin_body.php
===================================================================
--- trunk/extensions/RecordAdmin/RecordAdmin_body.php 2009-01-22 05:08:25 UTC
(rev 46002)
+++ trunk/extensions/RecordAdmin/RecordAdmin_body.php 2009-01-22 05:10:18 UTC
(rev 46003)
@@ -134,6 +134,7 @@
if ( count( $records ) ) {
# Pass1, scan the records to find the
create date of each and sort by that
+ $dbr = &wfGetDB( DB_SLAVE );
$sorted = array();
foreach ( $records as $k => $r ) {
$t = $r[0];
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs