X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiDisabled.php;h=fc9752205ee1bde3494e2c5b5664bc5fe36a60f2;hb=72728712501fe9e87445bd03441cdca183f30d65;hp=e5ef3b7e0eebb8c48a3e927d3f4130421cc01261;hpb=f96e5c5eecd383bb816bb79482af4baf5ceee13a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php index e5ef3b7e0e..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'; } }