Fix incorrect method call from r52024.
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 17 Jun 2009 08:18:10 +0000 (08:18 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 17 Jun 2009 08:18:10 +0000 (08:18 +0000)
includes/filerepo/File.php

index 13dc007..594aae2 100644 (file)
@@ -1077,7 +1077,7 @@ abstract class File {
                if ( $renderUrl ) {
                        if ( $this->repo->descriptionCacheExpiry > 0 ) {
                                wfDebug("Attempting to get the description from cache...");
-                               $key = $this->getLocalCacheKey( 'RemoteFileDescription', 'url', $wgContLang->getCode(), 
+                               $key = $this->repo->getLocalCacheKey( 'RemoteFileDescription', 'url', $wgContLang->getCode(), 
                                                                        $this->getName() );
                                $obj = $wgMemc->get($key);
                                if ($obj) {