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
registration: Allow the mtime of extension.json files to be zero
[lhc/web/wiklou.git]
/
includes
/
registration
/
ExtensionRegistry.php
diff --git
a/includes/registration/ExtensionRegistry.php
b/includes/registration/ExtensionRegistry.php
index
0eb6a9b
..
aae5fc2
100644
(file)
--- a/
includes/registration/ExtensionRegistry.php
+++ b/
includes/registration/ExtensionRegistry.php
@@
-107,7
+107,7
@@
class ExtensionRegistry {
throw new Exception( "$path does not exist!" );
}
// @codeCoverageIgnoreStart
- if (
!$mtim
e ) {
+ if (
$mtime === fals
e ) {
$err = error_get_last();
throw new Exception( "Couldn't stat $path: {$err['message']}" );
// @codeCoverageIgnoreEnd