X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrebuildLocalisationCache.php;h=68b6ea311da0ff357db1ef2b9b021c255a075b4a;hb=01a2a52dda8063501aa602d19c0c8bea7f8e7710;hp=36caa3a884406fa111c015447e36f1332d3d2af5;hpb=480ab87dbc2974ad9465af2808f21bf83397142e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildLocalisationCache.php b/maintenance/rebuildLocalisationCache.php index 36caa3a884..68b6ea311d 100644 --- 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