From: Alexandre Emsenhuber Date: Sun, 12 Feb 2012 19:18:36 +0000 (+0000) Subject: Added missing directories to findHooks.php and missing quote in hooks.txt that made... X-Git-Tag: 1.31.0-rc.0~24751 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=129d23aacc68c6f8c25fa6a47aed7d55b66d7793;p=lhc%2Fweb%2Fwiklou.git Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 2bc04610c3..e18fa4583f 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1238,7 +1238,7 @@ $data: Associative array of data for handlers to record. It must include values - 'comment' Wikitext string in the same format as an edit summary - 'timestamp' Timestamp when the action occured -LoginAuthenticateAudit': a login attempt for a valid user account either +'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 diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 64410a76dc..b8512e55e6 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -63,8 +63,10 @@ class FindHooks extends Maintenance { $IP . '/includes/db/', $IP . '/includes/diff/', $IP . '/includes/filerepo/', + $IP . '/includes/filerepo/file/', $IP . '/includes/installer/', $IP . '/includes/interwiki/', + $IP . '/includes/logging/', $IP . '/includes/media/', $IP . '/includes/parser/', $IP . '/includes/resourceloader/',