r32807 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32806‎ | r32807 | r32808 >
Date:10:51, 5 April 2008
Author:rotem
Status:old
Tags:
Comment:
Fixing a strict standards error: Declaration of OggHandler::canRender() should be compatible with that of MediaHandler::canRender()
Modified paths:
  • /trunk/extensions/OggHandler/OggHandler_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OggHandler/OggHandler_body.php
@@ -259,7 +259,7 @@
260260 return new OggVideoDisplay( $file, $file->getURL(), $dstUrl, $width, $height, $length, $dstPath );
261261 }
262262
263 - function canRender() { return true; }
 263+ function canRender( $file ) { return true; }
264264 function mustRender( $file ) { return true; }
265265
266266 /*

Status & tagging log