From 0ac6b762d8e88fca2398ed009f045083c707ebb9 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 28 Feb 2009 11:58:06 +0000 Subject: [PATCH] * Removed force index broken by r45764; shouldn't be needed anyway * Mark function as public --- includes/Title.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.20.1