r59874 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59873‎ | r59874 | r59875 >
Date:09:10, 9 December 2009
Author:freakolowsky
Status:ok
Tags:
Comment:
Added missing braces.
Modified paths:
  • /trunk/phase3/includes/filerepo/File.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/File.php
@@ -561,7 +561,7 @@
562562
563563 wfDebug( __METHOD__.": Doing stat for $thumbPath\n" );
564564 $this->migrateThumbFile( $thumbName );
565 - if ( file_exists( $thumbPath ))
 565+ if ( file_exists( $thumbPath )) {
566566 $thumbTime = filemtime( $thumbPath );
567567 if ( $thumbTime !== FALSE &&
568568 gmdate( 'YmdHis', $thumbTime ) >= $wgThumbnailEpoch ) {
@@ -569,6 +569,7 @@
570570 $thumb = $this->handler->getTransform( $this, $thumbPath, $thumbUrl, $params );
571571 break;
572572 }
 573+ }
573574 $thumb = $this->handler->doTransform( $this, $thumbPath, $thumbUrl, $params );
574575
575576 // Ignore errors if requested

Status & tagging log