Index: trunk/phase3/includes/ImageQueryPage.php |
— | — | @@ -43,20 +43,6 @@ |
44 | 44 | function formatResult( $skin, $result ) { } |
45 | 45 | |
46 | 46 | /** |
47 | | - * Prepare an image object given a result row |
48 | | - * |
49 | | - * @param $row Object: result row |
50 | | - * @return Image |
51 | | - */ |
52 | | - private function prepareImage( $row ) { |
53 | | - $namespace = isset( $row->namespace ) ? $row->namespace : NS_FILE; |
54 | | - $title = Title::makeTitleSafe( $namespace, $row->title ); |
55 | | - return ( $title instanceof Title && $title->getNamespace() == NS_FILE ) |
56 | | - ? wfFindFile( $title ) |
57 | | - : null; |
58 | | - } |
59 | | - |
60 | | - /** |
61 | 47 | * Get additional HTML to be shown in a results' cell |
62 | 48 | * |
63 | 49 | * @param $row Object: result row |