From: Alexandre Emsenhuber Date: Sat, 11 Sep 2010 21:30:22 +0000 (+0000) Subject: Follow-up r72827: do_image_index_update() is also unused since r11360 X-Git-Tag: 1.31.0-rc.0~34989 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=c2dc4af4886b24c2f09686617fe637d4c628746f;p=lhc%2Fweb%2Fwiklou.git Follow-up r72827: do_image_index_update() is also unused since r11360 --- 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' ) ) {