X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Frebuildall.php;h=95822ca26938ae081f50779ab9fe51b9a1ac1723;hb=fdd7397465a1b2451185db2f9168d17b1269cfd0;hp=d2ee6fc2ad913c6a1c94d88bf3fb77d1386f9c63;hpb=5d97e895562ec09d9233e199c21f5af7c6d58c9f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildall.php b/maintenance/rebuildall.php index d2ee6fc2ad..95822ca269 100644 --- a/maintenance/rebuildall.php +++ b/maintenance/rebuildall.php @@ -41,7 +41,7 @@ class RebuildAll extends Maintenance { public function execute() { // Rebuild the text index - if ( $this->getDB( DB_SLAVE )->getType() != 'postgres' ) { + if ( $this->getDB( DB_REPLICA )->getType() != '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' );