From: Rob Lanphier Date: Sat, 13 Nov 2010 06:25:12 +0000 (+0000) Subject: Followup to r76111. Making the result parameter on getThumbUrl optional X-Git-Tag: 1.31.0-rc.0~33906 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4fd3ac1b690d9ce0c961958427b287b89c1a65f3;p=lhc%2Fweb%2Fwiklou.git Followup to r76111. Making the result parameter on getThumbUrl optional --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index ef175962ab..e903e55f44 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -196,7 +196,7 @@ class ForeignAPIRepo extends FileRepo { return $ret; } - function getThumbUrl( $name, $width=-1, $height=-1, &$result ) { + function getThumbUrl( $name, $width=-1, $height=-1, &$result=NULL ) { $data = $this->fetchImageQuery( array( 'titles' => 'File:' . $name, 'iiprop' => 'url|timestamp',