X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiFormatNone.php;h=91c73a1b58eba9cbe825b1d0990b90e34358937f;hp=b3bde378516483ca2ec3ea70aa51df87b366fedd;hb=f48481a322dc288a0e2d8c902c6985fa7f92cb1d;hpb=b5f6fcb087098ac6f5e2f80c0e84b790bc44da16 diff --git a/includes/api/ApiFormatNone.php b/includes/api/ApiFormatNone.php index b3bde37851..91c73a1b58 100644 --- a/includes/api/ApiFormatNone.php +++ b/includes/api/ApiFormatNone.php @@ -25,27 +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(); - } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } }