X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiRsd.php;h=00ab77bab34ca9489585abc783b5cf20bf2148e9;hb=75e1edeacd5c976354ecac4e8056716fb82569e4;hp=71bab365aff5ab4006ee0bb51b3a7af5ef8888f9;hpb=485f66f1744fea056e20a5bef619989bf1749202;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php index 71bab365af..00ab77bab3 100644 --- a/includes/api/ApiRsd.php +++ b/includes/api/ApiRsd.php @@ -149,19 +149,3 @@ class ApiRsd extends ApiBase { return $outputData; } } - -class ApiFormatXmlRsd extends ApiFormatXml { - public function __construct( ApiMain $main, $format ) { - parent::__construct( $main, $format ); - $this->setRootElement( 'rsd' ); - } - - public function getMimeType() { - return 'application/rsd+xml'; - } - - public static function recXmlPrint( $name, $value, $indent, $attributes = [] ) { - unset( $attributes['_idx'] ); - return parent::recXmlPrint( $name, $value, $indent, $attributes ); - } -}