r104905 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104904‎ | r104905 | r104906 >
Date:22:30, 1 December 2011
Author:neilk
Status:deferred
Tags:
Comment:
fix useless assignment (probably copied from signature)
Modified paths:
  • /trunk/extensions/TimedMediaHandler/TimedMediaHandler.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/TimedMediaHandler.hooks.php
@@ -162,7 +162,7 @@
163163 if( !$file->isLocal() ){
164164 return false;
165165 }
166 - $mediaType = $file->getHandler()->getMetadataType( $image = '' );
 166+ $mediaType = $file->getHandler()->getMetadataType();
167167 // If ogg or webm format and not audio we can "transcode" this file
168168 if( ( $mediaType == 'webm' || $mediaType == 'ogg' ) && ! $file->getHandler()->isAudio( $file ) ){
169169 return true;

Status & tagging log