X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrebuildFileCache.php;h=da8a6bc36d3bd6b148eb34873646ea81a32673d2;hb=e9bc1588fb609da6729c1fc010333023c1e29a85;hp=22875597951668b748bed458ec698f2af2bbe015;hpb=8204049f3cdc0558b9fb35e8953437851a02f539;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildFileCache.php b/maintenance/rebuildFileCache.php index 2287559795..da8a6bc36d 100644 --- a/maintenance/rebuildFileCache.php +++ b/maintenance/rebuildFileCache.php @@ -96,7 +96,6 @@ class RebuildFileCache extends Maintenance { $blockEnd = $start + $this->mBatchSize - 1; $dbw = $this->getDB( DB_MASTER ); - $mainContext = RequestContext::getMain(); // Go through each page and save the output while ( $blockEnd <= $end ) { // Get the pages