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 "Move countVisitingWatchers to WatchedItemStore"
[lhc/web/wiklou.git]
/
maintenance
/
rebuildLocalisationCache.php
diff --git
a/maintenance/rebuildLocalisationCache.php
b/maintenance/rebuildLocalisationCache.php
index
36caa3a
..
68b6ea3
100644
(file)
--- a/
maintenance/rebuildLocalisationCache.php
+++ b/
maintenance/rebuildLocalisationCache.php
@@
-104,7
+104,7
@@
class RebuildLocalisationCache extends Maintenance {
$numRebuilt = 0;
$total = count( $codes );
$chunks = array_chunk( $codes, ceil( count( $codes ) / $threads ) );
- $pids =
array()
;
+ $pids =
[]
;
$parentStatus = 0;
foreach ( $chunks as $codes ) {
// Do not fork for only one thread