Fix another screwup from r52024, same issue as r52028.
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 17 Jun 2009 09:39:13 +0000 (09:39 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 17 Jun 2009 09:39:13 +0000 (09:39 +0000)
includes/filerepo/LocalFile.php

index 4c0e499..d31c7d3 100644 (file)
@@ -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 );
                }