dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include log id in api error response
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiClearHasMsg.php
diff --git
a/includes/api/ApiClearHasMsg.php
b/includes/api/ApiClearHasMsg.php
index
32e20e8
..
eb471ae
100644
(file)
--- a/
includes/api/ApiClearHasMsg.php
+++ b/
includes/api/ApiClearHasMsg.php
@@
-42,13
+42,10
@@
class ApiClearHasMsg extends ApiBase {
return false;
}
return false;
}
- public function getDescription() {
- return array( 'Clears the hasmsg flag for current user.' );
- }
-
- public function getExamples() {
+ protected function getExamplesMessages() {
return array(
return array(
- 'api.php?action=clearhasmsg' => 'Clears the hasmsg flag for current user',
+ 'action=clearhasmsg'
+ => 'apihelp-clearhasmsg-example-1',
);
}
);
}