Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -43,19 +43,6 @@ |
44 | 44 | return false; |
45 | 45 | } |
46 | 46 | |
47 | | -function do_image_index_update() { |
48 | | - $dbw = wfGetDB( DB_MASTER ); |
49 | | - $meta = $dbw->fieldInfo( "image", "img_major_mime" ); |
50 | | - if ( !$meta->isMultipleKey() ) { |
51 | | - wfOut( "Updating indexes to 20050912: " ); |
52 | | - $dbw->sourceFile( archive( "patch-mimesearch-indexes.sql" ) ); |
53 | | - wfOut( "ok\n" ); |
54 | | - return true; |
55 | | - } |
56 | | - wfOut( "...indexes seem up to 20050912 standards\n" ); |
57 | | - return false; |
58 | | -} |
59 | | - |
60 | 47 | function do_image_name_unique_update() { |
61 | 48 | $dbw = wfGetDB( DB_MASTER ); |
62 | 49 | if ( $dbw->indexExists( 'image', 'PRIMARY' ) ) { |