From: Brion Vibber Date: Wed, 5 Aug 2009 01:37:19 +0000 (+0000) Subject: Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :) X-Git-Tag: 1.31.0-rc.0~40495 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=0c7c9b301f6b6e8b018f7fe13c60e8c249687654;p=lhc%2Fweb%2Fwiklou.git Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :) --- diff --git a/includes/media/GIFMetadataExtractor.php b/includes/media/GIFMetadataExtractor.php index 3f17871b29..1b6589b3a7 100644 --- a/includes/media/GIFMetadataExtractor.php +++ b/includes/media/GIFMetadataExtractor.php @@ -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,