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 "Rename CDN config variables to be generic, deprecating the old names"
[lhc/web/wiklou.git]
/
maintenance
/
rebuildLocalisationCache.php
diff --git
a/maintenance/rebuildLocalisationCache.php
b/maintenance/rebuildLocalisationCache.php
index
48602de
..
4213d5f
100644
(file)
--- a/
maintenance/rebuildLocalisationCache.php
+++ b/
maintenance/rebuildLocalisationCache.php
@@
-92,7
+92,7
@@
class RebuildLocalisationCache extends Maintenance {
explode( ',', $this->getOption( 'lang' ) ) );
# Bailed out if nothing is left
if ( count( $codes ) == 0 ) {
explode( ',', $this->getOption( 'lang' ) ) );
# Bailed out if nothing is left
if ( count( $codes ) == 0 ) {
- $this->
error( 'None of the languages specified exists.', 1
);
+ $this->
fatalError( 'None of the languages specified exists.'
);
}
} else {
# By default get all languages
}
} else {
# By default get all languages
@@
-177,5
+177,5
@@
class RebuildLocalisationCache extends Maintenance {
}
}
}
}
-$maintClass =
"RebuildLocalisationCache"
;
+$maintClass =
RebuildLocalisationCache::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;