diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 601385925a7..19db4cbb171 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -498,7 +498,7 @@ class ApiMain extends ApiBase { * @param $module object An Api module * @param $params Array an array with the request parameters */ - protected function setupExternalResponse($module) { + protected function setupExternalResponse($module, $params) { // Ignore mustBePosted() for internal calls if ( $module->mustBePosted() && !$this->mRequest->wasPosted() ) { $this->dieUsageMsg( array( 'mustbeposted', $this->mAction ) );