From c2dc4af4886b24c2f09686617fe637d4c628746f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 11 Sep 2010 21:30:22 +0000 Subject: [PATCH] Follow-up r72827: do_image_index_update() is also unused since r11360 --- maintenance/updaters.inc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index ee1b981132..bb14f4a5a5 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -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' ) ) { -- 2.20.1