From 21a15c1d0a656b81b551454230f42d6cbdb42cb8 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 22 Jan 2007 11:19:03 +0000 Subject: [PATCH] Allow sending per-user contribution requests to "contributions" query group --- RELEASE-NOTES | 1 + includes/SpecialContributions.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 115d198534..55d3d1db25 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 863a81fd4c..70ff0c7cfd 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -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 ) { -- 2.20.1