X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FrebuildImages.php;h=ed67ccdcf754b30b832ce9a774d8dd8da9065210;hb=d966178eadf6f5e30f4049c844fdb6afe827501f;hp=4597d302bbad161ccb2fbefca3497cb1b37dbb31;hpb=b4cf6b43661d94c218f4fa6ab7dfc606378a08fc;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildImages.php b/maintenance/rebuildImages.php index 4597d302bb..ed67ccdcf7 100644 --- a/maintenance/rebuildImages.php +++ b/maintenance/rebuildImages.php @@ -30,7 +30,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to update image metadata records. @@ -205,9 +205,16 @@ class ImageBuilder extends Maintenance { } if ( !$this->dryrun ) { $file = wfLocalFile( $filename ); - if ( !$file->recordUpload( '', '(recovered file, missing upload log entry)', '', '', '', - false, $timestamp ) ) - { + if ( !$file->recordUpload( + '', + '(recovered file, missing upload log entry)', + '', + '', + '', + false, + $timestamp + ) + ) { $this->output( "Error uploading file $fullpath\n" ); return; }