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:
Yuri Astrakhan 2015-04-09 01:20:56 -04:00
parent 8a00f2445d
commit fe4e448e9c

View file

@ -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;
}
/**