diff options
Diffstat (limited to 'includes/api/ApiClearHasMsg.php')
-rw-r--r-- | includes/api/ApiClearHasMsg.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/includes/api/ApiClearHasMsg.php b/includes/api/ApiClearHasMsg.php index 32e20e80..eb471ae6 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', ); } |