Index: trunk/phase3/includes/media/GIF.php |
— | — | @@ -44,6 +44,11 @@ |
45 | 45 | return 'parsed-gif'; |
46 | 46 | } |
47 | 47 | |
| 48 | + function isMetadataValid( $image, $metadata ) { |
| 49 | + $data = @unserialize( $metadata ); |
| 50 | + return (boolean) $data; |
| 51 | + } |
| 52 | + |
48 | 53 | function getLongDesc( $image ) { |
49 | 54 | global $wgUser, $wgLang; |
50 | 55 | $sk = $wgUser->getSkin(); |