From: Gergő Tisza Date: Wed, 24 Aug 2016 02:35:17 +0000 (-0700) Subject: Remove some unused hooks from hooks.txt X-Git-Tag: 1.31.0-rc.0~5915^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=3e4a41039e920f47b05e41c1c75d4c20957e63ec;p=lhc%2Fweb%2Fwiklou.git Remove some unused hooks from hooks.txt These were removed in I2b2c9693a. Change-Id: I31c2ff3ce9d734fab94695bd3e8eb85cbf65803f --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 5cf8ffeea6..a0ee8bde3a 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -297,16 +297,6 @@ After a user account is created. $user: the User object that was created. (Parameter added in 1.7) $byEmail: true when account was created "by email" (added in 1.12) -'AddNewAccountApiForm': Allow modifying internal login form when creating an -account via API. -$apiModule: the ApiCreateAccount module calling -$loginForm: the LoginForm used - -'AddNewAccountApiResult': Modify API output when creating a new account via API. -$apiModule: the ApiCreateAccount module calling -$loginForm: the LoginForm used -&$result: associative array for API result data - 'AfterBuildFeedLinks': Executed in OutputPage.php after all feed links (atom, rss,...) are created. Can be used to omit specific feeds from being outputted. You must not use this hook to add feeds, use OutputPage::addFeedLink() instead. @@ -2069,13 +2059,6 @@ $e: The exception (in case of a plain old PHP error, a wrapping ErrorException) $suppressed: true if the error was suppressed via error_reporting()/wfSuppressWarnings() -'LoginAuthenticateAudit': A login attempt for a valid user account either -succeeded or failed. No return data is accepted; this hook is for auditing only. -$user: the User object being authenticated against -$password: the password being submitted and found wanting -$retval: a LoginForm class constant with authenticateUserData() return - value (SUCCESS, WRONG_PASS, etc.). - 'LoginFormValidErrorMessages': Called in LoginForm when a function gets valid error messages. Allows to add additional error messages (except messages already in LoginForm::$validErrorMessages).