Revert special:deletedcontribs for now; it's not ready to go live without the
[lhc/web/wiklou.git] / maintenance / updaters.inc
index 18075ff..f319cb4 100644 (file)
@@ -821,19 +821,6 @@ function do_backlinking_indices_update() {
        }
 }
 
-function do_archive_indices_update() {
-       global $wgDatabase;
-       echo( "Checking for additional archive indices...\n" );
-
-       $info = $wgDatabase->indexInfo( 'archive', 'usertext_timestamp', __METHOD__ );
-       if( !$info ) {
-               echo( "...index on ( ar_user_text, ar_timestamp ) not found; creating\n" );
-               dbsource( archive( 'patch-archive-utindex.sql' ) );
-       } else {
-               echo( "...index on ( ar_user_text, ar_timestamp ) seems to be ok\n" );
-       }
-}
-
 function do_all_updates( $doShared = false ) {
        global $wgNewTables, $wgNewFields, $wgRenamedTables, $wgSharedDB, $wgDatabase, $wgDBtype;
 
@@ -902,8 +889,6 @@ function do_all_updates( $doShared = false ) {
        
        do_backlinking_indices_update(); flush();
 
-       do_archive_indices_update(); flush();
-
        initialiseMessages(); flush();
 }