diff options
Diffstat (limited to 'MLEB/Translate/api/ApiStatsQuery.php')
-rw-r--r-- | MLEB/Translate/api/ApiStatsQuery.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/MLEB/Translate/api/ApiStatsQuery.php b/MLEB/Translate/api/ApiStatsQuery.php index 51244e0e..d2ee762c 100644 --- a/MLEB/Translate/api/ApiStatsQuery.php +++ b/MLEB/Translate/api/ApiStatsQuery.php @@ -76,20 +76,13 @@ abstract class ApiStatsQuery extends ApiQueryBase { ]; } - public function getAllowedParams() { + protected function getAllowedParams() { return [ 'offset' => [ ApiBase::PARAM_DFLT => '0', ApiBase::PARAM_TYPE => 'string', ApiBase::PARAM_HELP_MSG => 'api-help-param-continue', ], - 'timelimit' => [ - ApiBase::PARAM_DFLT => 8, - ApiBase::PARAM_TYPE => 'integer', - ApiBase::PARAM_MAX => 10, - ApiBase::PARAM_MIN => 0, - ApiBase::PARAM_DEPRECATED => true, // Since 2018.10 - ], ]; } } |