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
Fix @covers tags to use absolute class names in Storage tests
[lhc/web/wiklou.git]
/
maintenance
/
rebuildLocalisationCache.php
diff --git
a/maintenance/rebuildLocalisationCache.php
b/maintenance/rebuildLocalisationCache.php
index
b9c797d
..
8f92420
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
@@
-112,7
+112,7
@@
class RebuildLocalisationCache extends Maintenance {
if ( $pid === 0 ) {
// Child, reseed because there is no bug in PHP:
if ( $pid === 0 ) {
// Child, reseed because there is no bug in PHP:
- // http://bugs.php.net/bug.php?id=42465
+ // http
s
://bugs.php.net/bug.php?id=42465
mt_srand( getmypid() );
$this->doRebuild( $codes, $lc, $force );
mt_srand( getmypid() );
$this->doRebuild( $codes, $lc, $force );