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
Merge "[MCR] pass $queryFlags into RevisionStore::getTitle"
[lhc/web/wiklou.git]
/
maintenance
/
updateExtensionJsonSchema.php
diff --git
a/maintenance/updateExtensionJsonSchema.php
b/maintenance/updateExtensionJsonSchema.php
index
427769f
..
264f4be
100644
(file)
--- a/
maintenance/updateExtensionJsonSchema.php
+++ b/
maintenance/updateExtensionJsonSchema.php
@@
-14,12
+14,12
@@
class UpdateExtensionJsonSchema extends Maintenance {
public function execute() {
$filename = $this->getArg( 0 );
if ( !is_readable( $filename ) ) {
public function execute() {
$filename = $this->getArg( 0 );
if ( !is_readable( $filename ) ) {
- $this->
error( "Error: Unable to read $filename", 1
);
+ $this->
fatalError( "Error: Unable to read $filename"
);
}
$json = FormatJson::decode( file_get_contents( $filename ), true );
if ( $json === null ) {
}
$json = FormatJson::decode( file_get_contents( $filename ), true );
if ( $json === null ) {
- $this->
error( "Error: Invalid JSON", 1
);
+ $this->
fatalError( "Error: Invalid JSON"
);
}
if ( !isset( $json['manifest_version'] ) ) {
}
if ( !isset( $json['manifest_version'] ) ) {