dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Follow-up I49b7d8a - Add api module for common metadata
[lhc/web/wiklou.git]
/
maintenance
/
findHooks.php
diff --git
a/maintenance/findHooks.php
b/maintenance/findHooks.php
index
74eb971
..
ee8c48f
100644
(file)
--- a/
maintenance/findHooks.php
+++ b/
maintenance/findHooks.php
@@
-143,7
+143,7
@@
class FindHooks extends Maintenance {
private function getHooksFromLocalDoc( $doc ) {
$m = array();
$content = file_get_contents( $doc );
- preg_match_all( "/\n'(.*?)'/", $content, $m );
+ preg_match_all( "/\n'(.*?)'
:
/", $content, $m );
return array_unique( $m[1] );
}