Allow sending per-user contribution requests to "contributions" query group
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 22 Jan 2007 11:19:03 +0000 (11:19 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 22 Jan 2007 11:19:03 +0000 (11:19 +0000)
RELEASE-NOTES
includes/SpecialContributions.php

index 115d198..55d3d1d 100644 (file)
@@ -139,6 +139,7 @@ lighter making things easier to read.
 * (bug 4133) Allow page protections to be made with an expiry date, in the same format
   as block expiry dates. Existing protections are assumed to be infinite, as are protections
   made with the new field left blank. 
+* Allow sending per-user contribution requests to "contributions" query group
 
 == Languages updated ==
 
index 863a81f..70ff0c7 100644 (file)
@@ -14,7 +14,7 @@ class ContribsFinder {
        function ContribsFinder( $username ) {
                $this->username = $username;
                $this->namespace = false;
-               $this->dbr =& wfGetDB( DB_SLAVE );
+               $this->dbr =& wfGetDB( DB_SLAVE, 'contributions' );
        }
 
        function setNamespace( $ns ) {