dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b06b1fc
)
Merge "Fix doc in maintenance/findHooks.php"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 22 May 2019 19:58:51 +0000
(19:58 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 22 May 2019 19:58:51 +0000
(19:58 +0000)
maintenance/findHooks.php
patch
|
blob
|
history
diff --git
a/maintenance/findHooks.php
b/maintenance/findHooks.php
index
b57db8f
..
a902397
100644
(file)
--- a/
maintenance/findHooks.php
+++ b/
maintenance/findHooks.php
@@
-306,7
+306,7
@@
class FindHooks extends Maintenance {
/**
* Get hooks from a directory of PHP files.
* @param string $dir Directory path to start at
- * @param int $recurs
iv
e Pass self::FIND_RECURSIVE
+ * @param int $recurse Pass self::FIND_RECURSIVE
* @return array Array: key => hook name; value => array of arguments or string 'unknown'
*/
private function getHooksFromDir( $dir, $recurse = 0 ) {