From: Jens Frank Date: Tue, 28 Dec 2004 22:35:12 +0000 (+0000) Subject: Remove debugging code X-Git-Tag: 1.5.0alpha1~1016 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=1ef6cb2f89dd3870c68722921a799c8a051445a3;p=lhc%2Fweb%2Fwiklou.git Remove debugging code --- 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.