r76892 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76891‎ | r76892 | r76893 >
Date:18:30, 17 November 2010
Author:ialex
Status:ok
Tags:
Comment:
FileRepo stuff no longer uses WikiError since ages
Modified paths:
  • /trunk/phase3/maintenance/importImages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/importImages.php
@@ -196,7 +196,7 @@
197197 echo( " publishing {$file} by '" . $wgUser->getName() . "', comment '$commentText'... " );
198198 } else {
199199 $archive = $image->publish( $file );
200 - if ( WikiError::isError( $archive ) || !$archive->isGood() ) {
 200+ if ( !$archive->isGood() ) {
201201 echo( "failed.\n" );
202202 $failed++;
203203 continue;

Status & tagging log