r37015 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37014‎ | r37015 | r37016 >
Date:01:59, 4 July 2008
Author:demon
Status:old
Tags:
Comment:
Typo in variable name.
Modified paths:
  • /trunk/phase3/includes/filerepo/File.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/File.php
@@ -1070,7 +1070,7 @@
10711071 if ( $renderUrl ) {
10721072 if ( $this->repo->descriptionCacheExpiry > 0 ) {
10731073 wfDebug("Attempting to get the description from the transwiki cache...");
1074 - $key = wfMemcKey( 'filedesc', 'url', md5($link));
 1074+ $key = wfMemcKey( 'filedesc', 'url', md5($renderUrl));
10751075 $obj = $wgMemc->get($key);
10761076 if ($obj) {
10771077 wfDebug("success!\n");

Status & tagging log