follow up r72387: using ApiQuery here breaks ApiParamInfo (bug 25248)

This commit is contained in:
Matthew Britton 2010-09-23 10:46:08 +00:00
parent ad7128576a
commit bb3897976d

View file

@ -40,7 +40,7 @@ abstract class ApiQueryBase extends ApiBase {
private $mQueryModule, $mDb, $tables, $where, $fields, $options, $join_conds;
public function __construct( ApiQuery $query, $moduleName, $paramPrefix = '' ) {
public function __construct( ApiBase $query, $moduleName, $paramPrefix = '' ) {
parent::__construct( $query->getMain(), $moduleName, $paramPrefix );
$this->mQueryModule = $query;
$this->mDb = null;