From c023318c02fd13e5d416481513d1a0848623b901 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 30 Jul 2008 13:20:38 +0000 Subject: [PATCH] Remove unused var $dims --- includes/ImagePage.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); -- 2.20.1