From: Chad Horohoe Date: Tue, 30 Aug 2011 20:44:33 +0000 (+0000) Subject: Remove evil @ X-Git-Tag: 1.31.0-rc.0~28009 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=33f836cb7d19575023d1be0ed403807a81599768;p=lhc%2Fweb%2Fwiklou.git Remove evil @ --- diff --git a/maintenance/checkImages.php b/maintenance/checkImages.php index 96b93f22ba..484217d972 100644 --- a/maintenance/checkImages.php +++ b/maintenance/checkImages.php @@ -49,7 +49,9 @@ class CheckImages extends Maintenance { $this->output( "{$row->img_name}: not locally accessible\n" ); continue; } - $stat = @stat( $file->getPath() ); + wfSuppressWarnings(); + $stat = stat( $file->getPath() ); + wfRestoreWarnings(); if ( !$stat ) { $this->output( "{$row->img_name}: missing\n" ); continue;