X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FrebuildFileCache.php;h=12ed9facafab989958f542a065d9f009a8846883;hb=e5d0ca5eafa3cfd36f330518bbfe47453f0e8c1c;hp=3165b97ff53adc8a17f458755504885ef0e6766a;hpb=9994968774d44ea5138ba1e324349e048d54f12a;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;