* Follow-up r84610: don't assume a Parser object is attached
[lhc/web/wiklou.git] / includes / QueryPage.php
index 4e01338..2dc9ac6 100644 (file)
@@ -381,11 +381,9 @@ abstract class QueryPage extends SpecialPage {
        }
 
        /**
-        * Parameters and order changed in 1.18
-        *
         * Somewhat deprecated, you probably want to be using execute()
         */
-       function doQuery( $offset = false, $limit ) {
+       function doQuery( $offset = false, $limit = false ) {
                if ( $this->isCached() && $this->isCacheable() ) {
                        return $this->fetchFromCache( $limit, $offset );
                } else {