X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiFormatNone.php;h=91c73a1b58eba9cbe825b1d0990b90e34358937f;hp=bee1ac964b129c1c065e34290391c88ea7095ac9;hb=827c6bfa416d9d0de8cc8e22f9f3fa36d8129d44;hpb=588533365d867dac72c6e4b77303bbcb38487044 diff --git a/includes/api/ApiFormatNone.php b/includes/api/ApiFormatNone.php index bee1ac964b..91c73a1b58 100644 --- a/includes/api/ApiFormatNone.php +++ b/includes/api/ApiFormatNone.php @@ -25,23 +25,16 @@ */ /** - * API Serialized PHP output formatter + * Formatter that outputs nothing, for when you don't care about the response + * at all * @ingroup API */ class ApiFormatNone extends ApiFormatBase { - public function __construct( $main, $format ) { - parent::__construct( $main, $format ); - } - public function getMimeType() { return 'text/plain'; } public function execute() { } - - public function getDescription() { - return 'Output nothing' . parent::getDescription(); - } }