From 33f836cb7d19575023d1be0ed403807a81599768 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 30 Aug 2011 20:44:33 +0000 Subject: [PATCH] Remove evil @ --- maintenance/checkImages.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.20.1