X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiDisabled.php;h=6ea5d2020ccea30153d53d692f6f4ffd63849962;hb=596e959d23855643124ea0f6e395be5a2b436937;hp=ebcfa011a43c66c2a3506dcd43a6741cccd7ed8f;hpb=e1e5dab050ac900cd8ceae3781acef4666e86f9b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php index ebcfa011a4..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,7 +53,7 @@ class ApiDisabled extends ApiBase { } public function getDescription() { - return 'This module has been disabled'; + return 'This module has been disabled.'; } public function getExamples() {