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:
8a00f24
)
Fixed ApiQueryBase::selectNamedDb() return value
author
Yuri Astrakhan
<yurik@wikimedia.org>
Thu, 9 Apr 2015 05:20:56 +0000
(
01:20
-0400)
committer
Yuri Astrakhan
<yurik@wikimedia.org>
Thu, 9 Apr 2015 05:23:14 +0000
(
01:23
-0400)
The doc specifies that this func should return
named database connection, but it does not. Fixed.
Change-Id: Ibe62ff4275201382243c4861cc4fd15cf0316e43
includes/api/ApiQueryBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
1d4cff9
..
6c9d999
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-123,6
+123,7
@@
abstract class ApiQueryBase extends ApiBase {
*/
public function selectNamedDB( $name, $db, $groups ) {
$this->mDb = $this->getQuery()->getNamedDB( $name, $db, $groups );
+ return $this->mDb;
}
/**