X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatJson.php;h=41de9253f6d70f14f99fb36a89311ecc631746c0;hb=633c0da23af1cdb16f8edb6252f1c1138422162c;hp=36cbbd985a9e02a82ffb2c6c17f05b7b20c9e7bc;hpb=fb7b3eebeb8de47eb42e8d6ccf204106a2d6d9e4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFormatJson.php b/includes/api/ApiFormatJson.php index 36cbbd985a..41de9253f6 100644 --- a/includes/api/ApiFormatJson.php +++ b/includes/api/ApiFormatJson.php @@ -42,7 +42,7 @@ class ApiFormatJson extends ApiFormatBase { # outside the control of the end user. # (and do it here because ApiMain::reportUnusedParams() gets called # before our ::execute()) - $this->getMain()->getCheck( '_' ); + $this->getMain()->markParamsUsed( '_' ); } }