Whoops. Need to pass parameters.
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 29 Sep 2008 08:44:40 +0000 (08:44 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 29 Sep 2008 08:44:40 +0000 (08:44 +0000)
includes/filerepo/ForeignAPIRepo.php

index e174df9..36a2f81 100644 (file)
@@ -114,7 +114,7 @@ class ForeignAPIRepo extends FileRepo {
                global $wgMemc, $wgUploadPath, $wgServer, $wgUploadDirectory;
                
                if ( !$this->canCacheThumbs() ) {
-                       return $this->getThumbUrl();
+                       return $this->getThumbUrl( $name, $width, $height );
                }
                
                $key = wfMemcKey( 'ForeignAPIRepo', 'ThumbUrl', $name );