X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiFormatDbg.php;h=7d359ad45aeebcee645bc3f019215ebe5d1daab7;hp=273e205a87016d141d10a3c8a4e01568a0ad6f2e;hb=35d9ad550f2f443455b3b76495d9cebfafdfaf37;hpb=08aaea93e300d3b34befdbd30368c1293973760e diff --git a/includes/api/ApiFormatDbg.php b/includes/api/ApiFormatDbg.php index 273e205a87..7d359ad45a 100644 --- a/includes/api/ApiFormatDbg.php +++ b/includes/api/ApiFormatDbg.php @@ -40,7 +40,12 @@ class ApiFormatDbg extends ApiFormatBase { public function execute() { $this->markDeprecated(); - $this->printText( var_export( $this->getResultData(), true ) ); + $data = $this->getResult()->getResultData( null, array( + 'BC' => array(), + 'Types' => array(), + 'Strip' => 'all', + ) ); + $this->printText( var_export( $data, true ) ); } public function isDeprecated() {