X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FrebuildFileCache.php;h=12ed9facafab989958f542a065d9f009a8846883;hb=97c8120f995cb333fb86c82b7b9adbe0994faddb;hp=3165b97ff53adc8a17f458755504885ef0e6766a;hpb=4ef471fc3196a383c36e6e41794bc31a49162e5f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildFileCache.php b/maintenance/rebuildFileCache.php index 3165b97ff5..12ed9facaf 100644 --- a/maintenance/rebuildFileCache.php +++ b/maintenance/rebuildFileCache.php @@ -21,7 +21,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that builds file cache for content pages. @@ -153,10 +153,11 @@ class RebuildFileCache extends Maintenance { $this->output( "Done!\n" ); // Remove these to be safe - if ( isset( $wgTitle ) ) + if ( isset( $wgTitle ) ) { unset( $wgTitle ); + } } } $maintClass = "RebuildFileCache"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;