dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8365882
)
Now that rebuildtextindex.php is not MySQL-only, rebuildall.php should also take...
author
Max Semenik
<maxsem@users.mediawiki.org>
Sat, 7 Nov 2009 20:55:57 +0000
(20:55 +0000)
committer
Max Semenik
<maxsem@users.mediawiki.org>
Sat, 7 Nov 2009 20:55:57 +0000
(20:55 +0000)
maintenance/rebuildall.php
patch
|
blob
|
history
diff --git
a/maintenance/rebuildall.php
b/maintenance/rebuildall.php
index
6b3c333
..
a2c1be9
100644
(file)
--- 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();