r52033 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52032‎ | r52033 | r52034 >
Date:09:39, 17 June 2009
Author:tstarling
Status:deferred
Tags:
Comment:
Fix another screwup from r52024, same issue as r52028.
Modified paths:
  • /trunk/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalFile.php
@@ -591,7 +591,7 @@
592592 function purgeHistory() {
593593 global $wgMemc;
594594 $hashedName = md5($this->getName());
595 - $oldKey = $this->getSharedCacheKey( 'oldfile', $hashedName );
 595+ $oldKey = $this->repo->getSharedCacheKey( 'oldfile', $hashedName );
596596 if ( $oldKey ) {
597597 $wgMemc->delete( $oldKey );
598598 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r52024Bug 19240 (bad image list performance regression):...tstarling07:31, 17 June 2009
r52028Fix incorrect method call from r52024.tstarling08:18, 17 June 2009

Status & tagging log