r95809 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95808‎ | r95809 | r95810 >
Date:20:44, 30 August 2011
Author:demon
Status:ok
Tags:
Comment:
Remove evil @
Modified paths:
  • /trunk/phase3/maintenance/checkImages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/checkImages.php
@@ -49,7 +49,9 @@
5050 $this->output( "{$row->img_name}: not locally accessible\n" );
5151 continue;
5252 }
53 - $stat = @stat( $file->getPath() );
 53+ wfSuppressWarnings();
 54+ $stat = stat( $file->getPath() );
 55+ wfRestoreWarnings();
5456 if ( !$stat ) {
5557 $this->output( "{$row->img_name}: missing\n" );
5658 continue;

Status & tagging log