r58730 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58729‎ | r58730 | r58731 >
Date:20:55, 7 November 2009
Author:maxsem
Status:ok
Tags:
Comment:
Now that rebuildtextindex.php is not MySQL-only, rebuildall.php should also take it into account
Modified paths:
  • /trunk/phase3/maintenance/rebuildall.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/rebuildall.php
@@ -32,7 +32,7 @@
3333 public function execute() {
3434 global $wgDBtype;
3535 // Rebuild the text index
36 - if ( $wgDBtype == 'mysql' ) {
 36+ if ( $wgDBtype != 'postgres' ) {
3737 $this->output( "** Rebuilding fulltext search index (if you abort this will break searching; run this script again to fix):\n" );
3838 $rebuildText = $this->runChild( 'RebuildTextIndex', 'rebuildtextindex.php' );
3939 $rebuildText->execute();

Status & tagging log