X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatDbg.php;h=273e205a87016d141d10a3c8a4e01568a0ad6f2e;hb=95c85f71b178e75efd0a4444a4f39bbce27e694f;hp=61ed18f464f10bdb274765e5c8d9b19cbfadb740;hpb=b63ed3bd88b104cc81caa2ce9e6c2accbcc0006f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFormatDbg.php b/includes/api/ApiFormatDbg.php index 61ed18f464..273e205a87 100644 --- a/includes/api/ApiFormatDbg.php +++ b/includes/api/ApiFormatDbg.php @@ -26,6 +26,7 @@ /** * API PHP's var_export() output formatter + * @deprecated since 1.24 * @ingroup API */ class ApiFormatDbg extends ApiFormatBase { @@ -42,7 +43,7 @@ class ApiFormatDbg extends ApiFormatBase { $this->printText( var_export( $this->getResultData(), true ) ); } - public function getDescription() { - return 'DEPRECATED! Output data in PHP\'s var_export() format' . parent::getDescription(); + public function isDeprecated() { + return true; } }