Fixed ApiQueryBase::selectNamedDb() return value
The doc specifies that this func should return named database connection, but it does not. Fixed. Change-Id: Ibe62ff4275201382243c4861cc4fd15cf0316e43
This commit is contained in:
parent
8a00f2445d
commit
fe4e448e9c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue