X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FrebuildImages.php;h=b1bb353b08cb7a9e688bbe947f5418758d45afde;hb=dad19d999cf5cc249dacd390a775ef2f56649b86;hp=5a1496786f9e3f17dd501f2535e092ac34d2dcfd;hpb=27f8aa732e55f0655255152fa22655fa07424c2d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildImages.php b/maintenance/rebuildImages.php index 5a1496786f..b1bb353b08 100644 --- a/maintenance/rebuildImages.php +++ b/maintenance/rebuildImages.php @@ -48,7 +48,7 @@ class ImageBuilder extends Maintenance { parent::__construct(); global $wgUpdateCompatibleMetadata; - //make sure to update old, but compatible img_metadata fields. + // make sure to update old, but compatible img_metadata fields. $wgUpdateCompatibleMetadata = true; $this->mDescription = 'Script to update image metadata records'; @@ -59,7 +59,6 @@ class ImageBuilder extends Maintenance { public function execute() { $this->dbw = wfGetDB( DB_MASTER ); - $this->maxLag = 10; # if slaves are lagged more than 10 secs, wait $this->dryrun = $this->hasOption( 'dry-run' ); if ( $this->dryrun ) { $GLOBALS['wgReadOnly'] = 'Dry run mode, image upgrades are suppressed';