Follow-up r72827: do_image_index_update() is also unused since r11360
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Sep 2010 21:30:22 +0000 (21:30 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Sep 2010 21:30:22 +0000 (21:30 +0000)
maintenance/updaters.inc

index ee1b981..bb14f4a 100644 (file)
@@ -43,19 +43,6 @@ function do_index_update() {
        return false;
 }
 
-function do_image_index_update() {
-       $dbw = wfGetDB( DB_MASTER );
-       $meta = $dbw->fieldInfo( "image", "img_major_mime" );
-       if ( !$meta->isMultipleKey() ) {
-               wfOut( "Updating indexes to 20050912: " );
-               $dbw->sourceFile( archive( "patch-mimesearch-indexes.sql" ) );
-               wfOut( "ok\n" );
-               return true;
-       }
-       wfOut( "...indexes seem up to 20050912 standards\n" );
-       return false;
-}
-
 function do_image_name_unique_update() {
        $dbw = wfGetDB( DB_MASTER );
        if ( $dbw->indexExists( 'image', 'PRIMARY' ) ) {