Index: trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php |
— | — | @@ -1101,7 +1101,7 @@ |
1102 | 1102 | $image = wfLocalFile( $imgTitle ); |
1103 | 1103 | |
1104 | 1104 | $archive = $image->publish( $local_file ); |
1105 | | - if ( WikiError :: isError( $archive ) ) { |
| 1105 | + if ( !$archive->isGood() ) { |
1106 | 1106 | echo ( "failed.\n" ); |
1107 | 1107 | continue; |
1108 | 1108 | } |