Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :)
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 5 Aug 2009 01:37:19 +0000 (01:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 5 Aug 2009 01:37:19 +0000 (01:37 +0000)
includes/media/GIFMetadataExtractor.php

index 3f17871..1b6589b 100644 (file)
@@ -13,8 +13,6 @@ class GIFMetadataExtractor {
        static $gif_term;
 
        static function getMetadata( $filename ) {
-               wfProfileIn( __METHOD__ );
-       
                self::$gif_frame_sep = pack( "C", ord("," ) );
                self::$gif_extension_sep = pack( "C", ord("!" ) );
                self::$gif_term = pack( "C", ord(";" ) );
@@ -128,8 +126,6 @@ class GIFMetadataExtractor {
                        }
                }
                
-               wfProfileOut( __METHOD__ );
-               
                return array(
                        'frameCount' => $frameCount,
                        'looped' => $isLooped,