follow up r72387: using ApiQuery here breaks ApiParamInfo (bug 25248)
authorMatthew Britton <gurch@users.mediawiki.org>
Thu, 23 Sep 2010 10:46:08 +0000 (10:46 +0000)
committerMatthew Britton <gurch@users.mediawiki.org>
Thu, 23 Sep 2010 10:46:08 +0000 (10:46 +0000)
includes/api/ApiQueryBase.php

index 691dfea..e1aaef8 100644 (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;