From 1ef6cb2f89dd3870c68722921a799c8a051445a3 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Tue, 28 Dec 2004 22:35:12 +0000 Subject: [PATCH] Remove debugging code --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index ba594accac..7bdfe8c718 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -80,7 +80,7 @@ class ImagePage extends Article { if ( $width != $this->img->getWidth() || $height != $this->img->getHeight() ) { if( $wgUseImageResize ) { $thumbnail = $this->img->getThumbnail( $width ); - print "
thumb ". $thumbnail->getSize() ."\nimg  ".$this->img->getSize()."
"; + if ( ( ! $this->img->mustRender() ) && ( $thumbnail->getSize() > $this->img->getSize() ) ) { # the thumbnail is bigger thatn the original image. -- 2.20.1