X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiBlock.php;h=dea43ba0fce949a854855d957c0ebc9c2f96fd90;hb=30e009794bacc2e3138c372e6ddf876dca2d4a9c;hp=44565a8416b9dbb473c80e0e847d09414c343fe9;hpb=a6120e1baa64475f3753810c09e80cbc7d048499;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php index 44565a8416..dea43ba0fc 100644 --- a/includes/api/ApiBlock.php +++ b/includes/api/ApiBlock.php @@ -169,7 +169,7 @@ class ApiBlock extends ApiBase { return 'csrf'; } - public function getExamplesMessages() { + protected function getExamplesMessages() { return array( 'action=block&user=192.0.2.5&expiry=3%20days&reason=First%20strike&token=123ABC' => 'apihelp-block-example-ip-simple',