Index: trunk/extensions/PagedTiffHandler/tests/PagedTiffHandlerTest.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $image = wfLocalFile( $title ); |
34 | 34 | $archive = $image->publish( $path ); |
35 | 35 | $image->recordUpload( $archive->value, "Test file used for PagedTiffHandler unit test", "No license" ); |
36 | | - if( WikiError::isError( $archive ) || !$archive->isGood() ) |
| 36 | + if( !$archive->isGood() ) |
37 | 37 | { |
38 | 38 | echo "Something went wrong. Please manually upload $path\n"; |
39 | 39 | return false; |