From 4c675901fff7ed726f714c6661dbd2c3576395f0 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 13 May 2008 21:04:24 +0000 Subject: [PATCH] Use 'api' querygroup --- includes/api/ApiQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 8f2f8dfc7f..8c2873821f 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -124,7 +124,7 @@ class ApiQuery extends ApiBase { public function getDB() { if (!isset ($this->mSlaveDB)) { $this->profileDBIn(); - $this->mSlaveDB = wfGetDB(DB_SLAVE); + $this->mSlaveDB = wfGetDB(DB_SLAVE,'api'); $this->profileDBOut(); } return $this->mSlaveDB; -- 2.20.1