X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiDisabled.php;h=fc9752205ee1bde3494e2c5b5664bc5fe36a60f2;hb=953932c621f24efc06760c430fdbadce21e8767b;hp=6ea5d2020ccea30153d53d692f6f4ffd63849962;hpb=8ad5672178be71b04c9a3ce523d288586fc04267;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php index 6ea5d2020c..fc9752205e 100644 --- a/includes/api/ApiDisabled.php +++ b/includes/api/ApiDisabled.php @@ -44,19 +44,7 @@ class ApiDisabled extends ApiBase { return false; } - public function getAllowedParams() { - return array(); - } - - public function getParamDescription() { - return array(); - } - - public function getDescription() { - return 'This module has been disabled.'; - } - - public function getExamples() { - return array(); + protected function getDescriptionMessage() { + return 'apihelp-disabled-description'; } }