From 0c7c9b301f6b6e8b018f7fe13c60e8c249687654 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 5 Aug 2009 01:37:19 +0000 Subject: [PATCH] Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :) --- includes/media/GIFMetadataExtractor.php | 4 ---- 1 file changed, 4 deletions(-) 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, -- 2.20.1