From: Aaron Schulz Date: Sat, 28 Feb 2009 11:58:06 +0000 (+0000) Subject: * Removed force index broken by r45764; shouldn't be needed anyway X-Git-Tag: 1.31.0-rc.0~42653 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=0ac6b762d8e88fca2398ed009f045083c707ebb9;p=lhc%2Fweb%2Fwiklou.git * Removed force index broken by r45764; shouldn't be needed anyway * Mark function as public --- diff --git a/includes/Title.php b/includes/Title.php index 097e9ef9ac..e1b301e5f5 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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 {