Remove debugging code
authorJens Frank <jeluf@users.mediawiki.org>
Tue, 28 Dec 2004 22:35:12 +0000 (22:35 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Tue, 28 Dec 2004 22:35:12 +0000 (22:35 +0000)
includes/ImagePage.php

index ba594ac..7bdfe8c 100644 (file)
@@ -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 "<pre>thumb ". $thumbnail->getSize() ."\nimg  ".$this->img->getSize()."</pre>";
+
                                                if (    ( ! $this->img->mustRender() )
                                                     && ( $thumbnail->getSize() > $this->img->getSize() ) ) {
                                                        # the thumbnail is bigger thatn the original image.