Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -561,7 +561,7 @@ |
562 | 562 | |
563 | 563 | wfDebug( __METHOD__.": Doing stat for $thumbPath\n" ); |
564 | 564 | $this->migrateThumbFile( $thumbName ); |
565 | | - if ( file_exists( $thumbPath )) |
| 565 | + if ( file_exists( $thumbPath )) { |
566 | 566 | $thumbTime = filemtime( $thumbPath ); |
567 | 567 | if ( $thumbTime !== FALSE && |
568 | 568 | gmdate( 'YmdHis', $thumbTime ) >= $wgThumbnailEpoch ) { |
— | — | @@ -569,6 +569,7 @@ |
570 | 570 | $thumb = $this->handler->getTransform( $this, $thumbPath, $thumbUrl, $params ); |
571 | 571 | break; |
572 | 572 | } |
| 573 | + } |
573 | 574 | $thumb = $this->handler->doTransform( $this, $thumbPath, $thumbUrl, $params ); |
574 | 575 | |
575 | 576 | // Ignore errors if requested |