Remove $use_index that has been commented out for about 31000 revisions. Quick testin...
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 15 Jul 2008 15:43:43 +0000 (15:43 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 15 Jul 2008 15:43:43 +0000 (15:43 +0000)
includes/specials/SpecialAncientpages.php

index 724d34b..188ad91 100644 (file)
@@ -25,7 +25,6 @@ class AncientPagesPage extends QueryPage {
                $db = wfGetDB( DB_SLAVE );
                $page = $db->tableName( 'page' );
                $revision = $db->tableName( 'revision' );
-               #$use_index = $db->useIndexClause( 'cur_timestamp' ); # FIXME! this is gone
                $epoch = $wgDBtype == 'mysql' ? 'UNIX_TIMESTAMP(rev_timestamp)' :
                        'EXTRACT(epoch FROM rev_timestamp)';
                return