X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiRsd.php;h=00ab77bab34ca9489585abc783b5cf20bf2148e9;hb=8963110d01b0f376d900171fe7506fed5df80cf8;hp=71bab365aff5ab4006ee0bb51b3a7af5ef8888f9;hpb=91dd393b4c044588a4df0674b1e9035a0bf06feb;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 ); - } -}