r24809 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24808‎ | r24809 | r24810 >
Date:10:50, 15 August 2007
Author:tstarling
Status:old
Tags:
Comment:
Don't show warning if the file is missing
Modified paths:
  • /trunk/phase3/includes/DjVuImage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DjVuImage.php
@@ -104,7 +104,9 @@
105105 }
106106
107107 function getInfo() {
 108+ wfSuppressWarnings();
108109 $file = fopen( $this->mFilename, 'rb' );
 110+ wfRestoreWarnings();
109111 if( $file === false ) {
110112 wfDebug( __METHOD__ . ": missing or failed file read\n" );
111113 return false;

Follow-up revisions

RevisionCommit summaryAuthorDate
r24866Merged revisions 24755-24865 via svnmerge from...david23:08, 16 August 2007

Status & tagging log