X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatDbg.php;h=5ec518b358eb5934207fa11caa87b4a2c2dda7ea;hb=e53835fcab80827a7236c67a66b1d2a805baabd4;hp=1b2e02c9add026392680319e5cb2507f27cc31ed;hpb=bc4c5b91b785d87f48b984873fe5e8b34322cf85;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFormatDbg.php b/includes/api/ApiFormatDbg.php index 1b2e02c9ad..5ec518b358 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 { @@ -38,10 +39,11 @@ class ApiFormatDbg extends ApiFormatBase { } public function execute() { + $this->markDeprecated(); $this->printText( var_export( $this->getResultData(), true ) ); } public function getDescription() { - return 'Output data in PHP\'s var_export() format' . parent::getDescription(); + return 'DEPRECATED! Output data in PHP\'s var_export() format' . parent::getDescription(); } }