Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialTypes.php |
— | — | @@ -33,16 +33,7 @@ |
34 | 34 | |
35 | 35 | list( $limit, $offset ) = wfCheckLimits(); |
36 | 36 | |
37 | | - // When the QueryPage class was changed in r78786, the order of these |
38 | | - // parameters was conveniently swapped around. Brilliant for introducing |
39 | | - // subtle bugs; we ought to do it more! |
40 | | - if ( method_exists( 'QueryPage', 'getQueryInfo' ) ) { |
41 | | - $rep->doQuery( $limit, $offset ); |
42 | | - $rep->execute( array() ); |
43 | | - } |
44 | | - else { |
45 | | - $rep->doQuery( $offset, $limit ); |
46 | | - } |
| 37 | + $rep->doQuery( $offset, $limit ); |
47 | 38 | |
48 | 39 | // Ensure locally collected output data is pushed to the output! |
49 | 40 | SMWOutputs::commitToOutputPage( $wgOut ); |