From: Raimond Spekking Date: Wed, 30 Jul 2008 13:20:38 +0000 (+0000) Subject: Remove unused var $dims X-Git-Tag: 1.31.0-rc.0~46277 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=c023318c02fd13e5d416481513d1a0848623b901;p=lhc%2Fweb%2Fwiklou.git Remove unused var $dims --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index a0920e75f4..4c7eff163a 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -596,21 +596,18 @@ EOT * If the page we've just displayed is in the "Image" namespace, * we follow it with an upload history of the image and its usage. */ - function imageHistory() - { + function imageHistory() { global $wgOut, $wgUseExternalEditor; $this->loadFile(); if ( $this->img->exists() ) { $list = new ImageHistoryList( $this ); $file = $this->img; - $dims = $file->getDimensionsString(); $s = $list->beginImageHistoryList(); $s .= $list->imageHistoryLine( true, $file ); // old image versions $hist = $this->img->getHistory(); foreach( $hist as $file ) { - $dims = $file->getDimensionsString(); $s .= $list->imageHistoryLine( false, $file ); } $s .= $list->endImageHistoryList();