From: Max Semenik Date: Sat, 7 Nov 2009 20:55:57 +0000 (+0000) Subject: Now that rebuildtextindex.php is not MySQL-only, rebuildall.php should also take... X-Git-Tag: 1.31.0-rc.0~38906 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=0620bb65b04d63b31b36a5c251781fea65993a72;p=lhc%2Fweb%2Fwiklou.git Now that rebuildtextindex.php is not MySQL-only, rebuildall.php should also take it into account --- diff --git a/maintenance/rebuildall.php b/maintenance/rebuildall.php index 6b3c333e54..a2c1be931b 100644 --- a/maintenance/rebuildall.php +++ b/maintenance/rebuildall.php @@ -32,7 +32,7 @@ class RebuildAll extends Maintenance { public function execute() { global $wgDBtype; // Rebuild the text index - if ( $wgDBtype == 'mysql' ) { + if ( $wgDBtype != 'postgres' ) { $this->output( "** Rebuilding fulltext search index (if you abort this will break searching; run this script again to fix):\n" ); $rebuildText = $this->runChild( 'RebuildTextIndex', 'rebuildtextindex.php' ); $rebuildText->execute();