X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=blobdiff_plain;f=maintenance%2FrebuildFileCache.php;h=aa1bbbb044d0855c502627163d55661bd7d62872;hb=3e11266ae5e5a33498abb7f028bbc79b5ca93515;hp=5028cbe0a40d31274c9d25193a04d26ec97f1854;hpb=3112302c73dc1e30a114ee4ead4a6a4caab8b76a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildFileCache.php b/maintenance/rebuildFileCache.php index 5028cbe0a4..aa1bbbb044 100644 --- a/maintenance/rebuildFileCache.php +++ b/maintenance/rebuildFileCache.php @@ -31,6 +31,9 @@ class RebuildFileCache extends Maintenance { $this->setBatchSize( 100 ); } + /** + * @todo MAKE $wgArticle GO AWAY! This is the absolute LAST use in core + */ public function execute() { global $wgUseFileCache, $wgDisableCounters, $wgContentNamespaces, $wgRequestTime; global $wgTitle, $wgArticle, $wgOut; @@ -109,7 +112,7 @@ class RebuildFileCache extends Maintenance { } $blockStart += $this->mBatchSize; $blockEnd += $this->mBatchSize; - wfWaitForSlaves( 5 ); + wfWaitForSlaves(); } $this->output( "Done!\n" );