X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiDisabled.php;h=6ea5d2020ccea30153d53d692f6f4ffd63849962;hb=89fc181ab99fcd2024824aac343639d8a9ece28f;hp=13975aec01e336ee04f122dc06897f31685392ca;hpb=67e23ec357d2265bc487bdd4b63e30fcaf5871c7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php index 13975aec01..6ea5d2020c 100644 --- a/includes/api/ApiDisabled.php +++ b/includes/api/ApiDisabled.php @@ -36,10 +36,6 @@ */ class ApiDisabled extends ApiBase { - public function __construct( $main, $action ) { - parent::__construct( $main, $action ); - } - public function execute() { $this->dieUsage( "The \"{$this->getModuleName()}\" module has been disabled.", 'moduledisabled' ); } @@ -57,14 +53,10 @@ class ApiDisabled extends ApiBase { } public function getDescription() { - return 'This module has been disabled'; + return 'This module has been disabled.'; } public function getExamples() { return array(); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } }