Index: trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php |
— | — | @@ -183,12 +183,7 @@ |
184 | 184 | |
185 | 185 | if ( !is_null( $title ) && $title->getNamespace() == NS_FILE && $title->exists() ) { |
186 | 186 | $icon_image_page = new ImagePage( $title ); |
187 | | - |
188 | | - // Method was only added in MW 1.13 |
189 | | - $realFunction = array( $icon_image_page, 'getDisplayedFile' ); |
190 | | - if ( is_callable( $realFunction ) ) { |
191 | | - $display_options['icon'] = $icon_image_page->getDisplayedFile()->getURL(); |
192 | | - } |
| 187 | + $display_options['icon'] = $icon_image_page->getDisplayedFile()->getURL(); |
193 | 188 | } |
194 | 189 | } else { |
195 | 190 | $display_options[$key] = $value; |