Merge "User: Avoid deprecated Linker::link()"
[lhc/web/wiklou.git] / includes / api / ApiResetPassword.php
index 4f3fc0d..7783826 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Copyright © 2016 Brad Jorsch <bjorsch@wikimedia.org>
+ * Copyright © 2016 Wikimedia Foundation and contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -43,11 +43,11 @@ class ApiResetPassword extends ApiBase {
                return $this->hasAnyRoutes;
        }
 
-       protected function getDescriptionMessage() {
+       protected function getExtendedDescription() {
                if ( !$this->hasAnyRoutes() ) {
-                       return 'apihelp-resetpassword-description-noroutes';
+                       return 'apihelp-resetpassword-extended-description-noroutes';
                }
-               return parent::getDescriptionMessage();
+               return parent::getExtendedDescription();
        }
 
        public function execute() {