dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b888096
)
Remove evil @
author
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 30 Aug 2011 20:44:33 +0000
(20:44 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 30 Aug 2011 20:44:33 +0000
(20:44 +0000)
maintenance/checkImages.php
patch
|
blob
|
history
diff --git
a/maintenance/checkImages.php
b/maintenance/checkImages.php
index
96b93f2
..
484217d
100644
(file)
--- 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;