http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72833

Revision: 72833
Author:   ialex
Date:     2010-09-11 21:30:22 +0000 (Sat, 11 Sep 2010)

Log Message:
-----------
Follow-up r72827: do_image_index_update() is also unused since r11360

Modified Paths:
--------------
    trunk/phase3/maintenance/updaters.inc

Modified: trunk/phase3/maintenance/updaters.inc
===================================================================
--- trunk/phase3/maintenance/updaters.inc       2010-09-11 21:08:48 UTC (rev 
72832)
+++ trunk/phase3/maintenance/updaters.inc       2010-09-11 21:30:22 UTC (rev 
72833)
@@ -43,19 +43,6 @@
        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' ) ) {



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to