From: Aaron Schulz Date: Tue, 13 May 2008 21:04:24 +0000 (+0000) Subject: Use 'api' querygroup X-Git-Tag: 1.31.0-rc.0~47654 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=4c675901fff7ed726f714c6661dbd2c3576395f0;p=lhc%2Fweb%2Fwiklou.git Use 'api' querygroup --- 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;