Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php

This commit is contained in:
Alexandre Emsenhuber 2012-02-12 19:18:36 +00:00
parent 9815dff76f
commit 129d23aacc
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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/',