X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FcleanupRemovedModules.php;h=84eec289696a6a13b316aed3aebc3de973629614;hb=5eda555000550e5beebcac376508efbf89c9ae2c;hp=2085da94d1e8bcd05c70dcb958d845951ada3eb0;hpb=5fdca330461d453afe4efd73d2543bb9952d872d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupRemovedModules.php b/maintenance/cleanupRemovedModules.php index 2085da94d1..84eec28969 100644 --- a/maintenance/cleanupRemovedModules.php +++ b/maintenance/cleanupRemovedModules.php @@ -22,7 +22,7 @@ * @author Roan Kattouw */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to remove cache entries for removed ResourceLoader modules @@ -58,7 +58,7 @@ class CleanupRemovedModules extends Maintenance { $this->output( "Batch $i: $numRows rows\n" ); $i++; wfWaitForSlaves( $maxlag ); - } while( $numRows > 0 ); + } while ( $numRows > 0 ); $this->output( "done\n" ); $this->output( "Cleaning up msg_resource table...\n" ); @@ -72,7 +72,7 @@ class CleanupRemovedModules extends Maintenance { $this->output( "Batch $i: $numRows rows\n" ); $i++; wfWaitForSlaves( $maxlag ); - } while( $numRows > 0 ); + } while ( $numRows > 0 ); $this->output( "done\n" ); $this->output( "Cleaning up msg_resource_links table...\n" ); @@ -85,10 +85,10 @@ class CleanupRemovedModules extends Maintenance { $this->output( "Batch $i: $numRows rows\n" ); $i++; wfWaitForSlaves( $maxlag ); - } while( $numRows > 0 ); + } while ( $numRows > 0 ); $this->output( "done\n" ); } } $maintClass = "CleanupRemovedModules"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;