X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiClearHasMsg.php;h=eb471ae6fb7b19b1bbe6c19517df8c214032770a;hb=e6696ed61129be255ba5e6032c2eadcab85ed3b8;hp=32e20e80f319bff3a382c78fdc3f4a24117ea76e;hpb=96efe0bc6634f42a72b6f18e7a69dce2388e2452;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiClearHasMsg.php b/includes/api/ApiClearHasMsg.php index 32e20e80f3..eb471ae6fb 100644 --- a/includes/api/ApiClearHasMsg.php +++ b/includes/api/ApiClearHasMsg.php @@ -42,13 +42,10 @@ class ApiClearHasMsg extends ApiBase { return false; } - public function getDescription() { - return array( 'Clears the hasmsg flag for current user.' ); - } - - public function getExamples() { + protected function getExamplesMessages() { return array( - 'api.php?action=clearhasmsg' => 'Clears the hasmsg flag for current user', + 'action=clearhasmsg' + => 'apihelp-clearhasmsg-example-1', ); }