http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96708
Revision: 96708
Author: nelson
Date: 2011-09-10 00:07:41 +0000 (Sat, 10 Sep 2011)
Log Message:
-----------
Obviously I need to re-read the coding standards guide again!
Modified Paths:
--------------
trunk/extensions/SwiftMedia/SwiftMedia.body.php
Modified: trunk/extensions/SwiftMedia/SwiftMedia.body.php
===================================================================
--- trunk/extensions/SwiftMedia/SwiftMedia.body.php 2011-09-09 23:54:29 UTC
(rev 96707)
+++ trunk/extensions/SwiftMedia/SwiftMedia.body.php 2011-09-10 00:07:41 UTC
(rev 96708)
@@ -188,7 +188,9 @@
// Clean up temporary data, if it exists.
if ( file_exists( $thumbPath ) ) {
- @unlink( $thumbPath );
+ wfSuppressWarnings();
+ unlink( $thumbPath );
+ wfRestoreWarnings();
}
return $thumb;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs