r72833 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72832‎ | r72833 | r72834 >
Date:21:30, 11 September 2010
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r72827: do_image_index_update() is also unused since r11360
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -43,19 +43,6 @@
4444 return false;
4545 }
4646
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 -
6047 function do_image_name_unique_update() {
6148 $dbw = wfGetDB( DB_MASTER );
6249 if ( $dbw->indexExists( 'image', 'PRIMARY' ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r11360* No longer add the MIME indexavar06:26, 14 October 2005
r72827do_copy_newtalk_to_watchlist() is not called anymore since ages (r9674), so r...ialex20:23, 11 September 2010

Status & tagging log