dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9f01a
)
Use 'api' querygroup
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 13 May 2008 21:04:24 +0000
(21:04 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 13 May 2008 21:04:24 +0000
(21:04 +0000)
includes/api/ApiQuery.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQuery.php
b/includes/api/ApiQuery.php
index
8f2f8df
..
8c28738
100644
(file)
--- 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;