Added missing braces.

This commit is contained in:
Jure Kajzer 2009-12-09 09:10:55 +00:00
parent 8c0dbeb928
commit 2275a0d710

View file

@ -561,7 +561,7 @@ abstract class File {
wfDebug( __METHOD__.": Doing stat for $thumbPath\n" );
$this->migrateThumbFile( $thumbName );
if ( file_exists( $thumbPath ))
if ( file_exists( $thumbPath )) {
$thumbTime = filemtime( $thumbPath );
if ( $thumbTime !== FALSE &&
gmdate( 'YmdHis', $thumbTime ) >= $wgThumbnailEpoch ) {
@ -569,6 +569,7 @@ abstract class File {
$thumb = $this->handler->getTransform( $this, $thumbPath, $thumbUrl, $params );
break;
}
}
$thumb = $this->handler->doTransform( $this, $thumbPath, $thumbUrl, $params );
// Ignore errors if requested