From: Matthew Britton Date: Thu, 23 Sep 2010 10:46:08 +0000 (+0000) Subject: follow up r72387: using ApiQuery here breaks ApiParamInfo (bug 25248) X-Git-Tag: 1.31.0-rc.0~34821 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=bb3897976da1997157052c1af2b1ec594fd8ffe1;p=lhc%2Fweb%2Fwiklou.git follow up r72387: using ApiQuery here breaks ApiParamInfo (bug 25248) --- diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 691dfea4f6..e1aaef8f35 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -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;