X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiDisabled.php;h=fc9752205ee1bde3494e2c5b5664bc5fe36a60f2;hb=23e5cdb5034dca5bbdfc2ac9c111c5fac20ff579;hp=6ea5d2020ccea30153d53d692f6f4ffd63849962;hpb=97a4ad455f836f779a056a4a53e57227b3ad0d1e;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'; } }