Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / api / ApiClearHasMsg.php
index 32e20e8..4ddbd04 100644 (file)
@@ -42,14 +42,11 @@ class ApiClearHasMsg extends ApiBase {
                return false;
        }
 
-       public function getDescription() {
-               return array( 'Clears the hasmsg flag for current user.' );
-       }
-
-       public function getExamples() {
-               return array(
-                       'api.php?action=clearhasmsg' => 'Clears the hasmsg flag for current user',
-               );
+       protected function getExamplesMessages() {
+               return [
+                       'action=clearhasmsg'
+                               => 'apihelp-clearhasmsg-example-1',
+               ];
        }
 
        public function getHelpUrls() {