Index: trunk/phase3/maintenance/checkImages.php |
— | — | @@ -49,7 +49,9 @@ |
50 | 50 | $this->output( "{$row->img_name}: not locally accessible\n" ); |
51 | 51 | continue; |
52 | 52 | } |
53 | | - $stat = @stat( $file->getPath() ); |
| 53 | + wfSuppressWarnings(); |
| 54 | + $stat = stat( $file->getPath() ); |
| 55 | + wfRestoreWarnings(); |
54 | 56 | if ( !$stat ) { |
55 | 57 | $this->output( "{$row->img_name}: missing\n" ); |
56 | 58 | continue; |