r88067 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88066‎ | r88067 | r88068 >
Date:13:05, 14 May 2011
Author:hartman
Status:deferred
Tags:
Comment:
Using $this from static object. I think this is a copy paste error and $file is ok.
Modified paths:
  • /trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php
@@ -193,7 +193,7 @@
194194 // Use descriptionCacheExpiry as our expire for timed text tracks info
195195 if ( $file->repo->descriptionCacheExpiry > 0 ) {
196196 wfDebug("Attempting to get sources from cache...");
197 - $key = $this->file->repo->getLocalCacheKey( 'WebVideoSources', 'url', $file->getName() );
 197+ $key = $file->repo->getLocalCacheKey( 'WebVideoSources', 'url', $file->getName() );
198198 $sources = $wgMemc->get($key);
199199 if ( $sources ) {
200200 wfDebug("Success found sources in local cache\n");

Status & tagging log