X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Frebuildtextindex.php;h=0e41ff32407caf5a08e0052ad6178de98667d679;hb=5d743b03814d2e36abc45f0d9e048d6390b01084;hp=5971d5e9f7fb4e955d94441a78432bf92b84b0fe;hpb=fbb86f07d222ba6c31386472c5b792348b1c89e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildtextindex.php b/maintenance/rebuildtextindex.php index 5971d5e9f7..0e41ff3240 100644 --- a/maintenance/rebuildtextindex.php +++ b/maintenance/rebuildtextindex.php @@ -56,17 +56,17 @@ class RebuildTextIndex extends Maintenance { // Shouldn't be needed for Postgres $this->db = $this->getDB( DB_MASTER ); if ( $this->db->getType() == 'postgres' ) { - $this->error( "This script is not needed when using Postgres.\n", true ); + $this->fatalError( "This script is not needed when using Postgres.\n" ); } if ( $this->db->getType() == 'sqlite' ) { if ( !DatabaseSqlite::getFulltextSearchModule() ) { - $this->error( "Your version of SQLite module for PHP doesn't " - . "support full-text search (FTS3).\n", true ); + $this->fatalError( "Your version of SQLite module for PHP doesn't " + . "support full-text search (FTS3).\n" ); } if ( !$this->db->checkForEnabledSearch() ) { - $this->error( "Your database schema is not configured for " - . "full-text search support. Run update.php.\n", true ); + $this->fatalError( "Your database schema is not configured for " + . "full-text search support. Run update.php.\n" ); } }