From 996abb87f81082ec5f337396fdc1a3bb54189507 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 17 Jun 2009 09:39:13 +0000 Subject: [PATCH] Fix another screwup from r52024, same issue as r52028. --- includes/filerepo/LocalFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 4c0e499617..d31c7d3efc 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -591,7 +591,7 @@ class LocalFile extends File function purgeHistory() { global $wgMemc; $hashedName = md5($this->getName()); - $oldKey = $this->getSharedCacheKey( 'oldfile', $hashedName ); + $oldKey = $this->repo->getSharedCacheKey( 'oldfile', $hashedName ); if ( $oldKey ) { $wgMemc->delete( $oldKey ); } -- 2.20.1