* Removed force index broken by r45764; shouldn't be needed anyway
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 28 Feb 2009 11:58:06 +0000 (11:58 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 28 Feb 2009 11:58:06 +0000 (11:58 +0000)
* Mark function as public

includes/Title.php

index 097e9ef..e1b301e 100644 (file)
@@ -3316,8 +3316,8 @@ class Title {
                        'rev_page = ' . intval( $this->getArticleId() ) .
                        ' AND rev_id > ' . intval( $old ) .
                        ' AND rev_id < ' . intval( $new ),
-                       __METHOD__,
-                       array( 'USE INDEX' => 'PRIMARY' ) );
+                       __METHOD__
+               );
        }
 
        /**
@@ -3336,7 +3336,7 @@ class Title {
        /**
         * Callback for usort() to do title sorts by (namespace, title)
         */
-       static function compare( $a, $b ) {
+       public static function compare( $a, $b ) {
                if( $a->getNamespace() == $b->getNamespace() ) {
                        return strcmp( $a->getText(), $b->getText() );
                } else {