From 3e4a41039e920f47b05e41c1c75d4c20957e63ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Tue, 23 Aug 2016 19:35:17 -0700 Subject: [PATCH] Remove some unused hooks from hooks.txt These were removed in I2b2c9693a. Change-Id: I31c2ff3ce9d734fab94695bd3e8eb85cbf65803f --- docs/hooks.txt | 17 ----------------- 1 file changed, 17 deletions(-) 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). -- 2.20.1