From: addshore Date: Tue, 27 Jan 2015 18:22:07 +0000 (-0800) Subject: Run clearSearchIndex when mysql in rebuildTextIndex X-Git-Tag: 1.31.0-rc.0~12591^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=576b08cb41d10a2a75245d4c036d44ed6f199a4b;p=lhc%2Fweb%2Fwiklou.git Run clearSearchIndex when mysql in rebuildTextIndex Bug: T64276 Change-Id: If86fe65dbbc04e4d83882155ec50375f9e179581 --- diff --git a/maintenance/rebuildtextindex.php b/maintenance/rebuildtextindex.php index bc85c666af..e29d89e193 100644 --- a/maintenance/rebuildtextindex.php +++ b/maintenance/rebuildtextindex.php @@ -70,6 +70,7 @@ class RebuildTextIndex extends Maintenance { if ( $this->db->getType() == 'mysql' ) { $this->dropMysqlTextIndex(); + $this->clearSearchIndex(); $this->populateSearchIndex(); $this->createMysqlTextIndex(); } else {