From: Sam Reed Date: Wed, 22 Dec 2010 16:28:52 +0000 (+0000) Subject: Followup r78805, remove now unused function X-Git-Tag: 1.31.0-rc.0~33181 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=a35d735f413ab959f1661cb21d2e6640b41b0dd5;p=lhc%2Fweb%2Fwiklou.git Followup r78805, remove now unused function --- diff --git a/includes/ImageQueryPage.php b/includes/ImageQueryPage.php index c2ecfd33a4..aa9b6a6e9c 100644 --- a/includes/ImageQueryPage.php +++ b/includes/ImageQueryPage.php @@ -42,20 +42,6 @@ abstract class ImageQueryPage extends QueryPage { // Gotta override this since it's abstract function formatResult( $skin, $result ) { } - /** - * Prepare an image object given a result row - * - * @param $row Object: result row - * @return Image - */ - private function prepareImage( $row ) { - $namespace = isset( $row->namespace ) ? $row->namespace : NS_FILE; - $title = Title::makeTitleSafe( $namespace, $row->title ); - return ( $title instanceof Title && $title->getNamespace() == NS_FILE ) - ? wfFindFile( $title ) - : null; - } - /** * Get additional HTML to be shown in a results' cell *