dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e7c21a
)
findHooks.php: Only look at PHP files, not silly things
author
Chad Horohoe
<chadh@wikimedia.org>
Fri, 10 Jun 2016 20:42:13 +0000
(13:42 -0700)
committer
Chad Horohoe
<chadh@wikimedia.org>
Fri, 10 Jun 2016 20:43:58 +0000
(13:43 -0700)
Change-Id: I29280dfe629126c71adfb65ac1a59394bc459dc4
maintenance/findHooks.php
patch
|
blob
|
history
diff --git
a/maintenance/findHooks.php
b/maintenance/findHooks.php
index
a8bed54
..
89e0311
100644
(file)
--- a/
maintenance/findHooks.php
+++ b/
maintenance/findHooks.php
@@
-315,7
+315,7
@@
class FindHooks extends Maintenance {
foreach ( $iterator as $info ) {
// Ignore directories, ignore json (installer and api i18n),
// ignore extension-less files like HISTORY
- if ( $info->isFile() && $info->getExtension()
!== 'json' && $info->getExtension()
+ if ( $info->isFile() && $info->getExtension()
=== 'php'
// Skip this file as it contains text that looks like a bad wfRunHooks() call
&& $info->getRealPath() !== __FILE__
) {