r54417 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54416‎ | r54417 | r54418 >
Date:01:37, 5 August 2009
Author:brion
Status:ok
Tags:
Comment:
Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :)
Modified paths:
  • /trunk/phase3/includes/media/GIFMetadataExtractor.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/GIFMetadataExtractor.php
@@ -13,8 +13,6 @@
1414 static $gif_term;
1515
1616 static function getMetadata( $filename ) {
17 - wfProfileIn( __METHOD__ );
18 -
1917 self::$gif_frame_sep = pack( "C", ord("," ) );
2018 self::$gif_extension_sep = pack( "C", ord("!" ) );
2119 self::$gif_term = pack( "C", ord(";" ) );
@@ -128,8 +126,6 @@
129127 }
130128 }
131129
132 - wfProfileOut( __METHOD__ );
133 -
134130 return array(
135131 'frameCount' => $frameCount,
136132 'looped' => $isLooped,

Status & tagging log