Index: trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php |
— | — | @@ -94,15 +94,11 @@ |
95 | 95 | } |
96 | 96 | } |
97 | 97 | $meta = self::getTiffImage( false, $tempName )->retrieveMetaData(); |
98 | | - if ( !$meta && $meta != - 1 ) { |
| 98 | + if ( !$meta ) { |
99 | 99 | $error = array( 'tiff_out_of_service' ); |
100 | 100 | wfDebug( __METHOD__ . ": {$error[0]} ($saveName)\n" ); |
101 | 101 | return false; |
102 | 102 | } |
103 | | - if ( $meta == - 1 ) { |
104 | | - $error = array( 'tiff_error_cached' ); |
105 | | - wfDebug( __METHOD__ . ": {$error[0]} ($saveName)\n" ); |
106 | | - } |
107 | 103 | |
108 | 104 | $ok = self::verifyMetaData( $meta, $error, $saveName ); |
109 | 105 | |