From: Tim Starling Date: Wed, 17 Jun 2009 09:39:13 +0000 (+0000) Subject: Fix another screwup from r52024, same issue as r52028. X-Git-Tag: 1.31.0-rc.0~41329 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=996abb87f81082ec5f337396fdc1a3bb54189507;p=lhc%2Fweb%2Fwiklou.git Fix another screwup from r52024, same issue as r52028. --- 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 ); }